mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 00:09:31 -06:00
fix eng parad
This commit is contained in:
@@ -108,10 +108,11 @@ oper
|
||||
|
||||
--2 Adverbs
|
||||
|
||||
-- Adverbs are not inflected. The lexical ones have position not
|
||||
-- before the verb.
|
||||
-- Adverbs are not inflected. Most lexical ones have position not
|
||||
-- before the verb. Some can be preverbal (e.g. "always").
|
||||
|
||||
mkAdv : Str -> AdV ;
|
||||
mkAdvPre : Str -> AdV ;
|
||||
|
||||
--2 Verbs
|
||||
--
|
||||
@@ -219,12 +220,13 @@ oper
|
||||
apReg = \s -> AdjP1 (mkAdj1 s) ;
|
||||
|
||||
aGen : Str -> AdjDeg = \s -> case last s of {
|
||||
"y" => mkAdjDeg s (init s + "ier") (init s + "iest") ;
|
||||
"y" => mkAdjDeg s (init s ++ "ier") (init s + "iest") ;
|
||||
"e" => mkAdjDeg s (s + "r") (s + "st") ;
|
||||
_ => aReg s
|
||||
} ;
|
||||
|
||||
mkAdv a = advPost a ** {lock_AdV = <>} ;
|
||||
mkAdvPre a = advPre a ** {lock_AdV = <>} ;
|
||||
|
||||
mkV = \go,goes,went,gone -> verbNoPart (mkVerbP3 go goes went gone) **
|
||||
{lock_V = <>} ;
|
||||
|
||||
@@ -56,8 +56,8 @@ stripTerm t = case t of
|
||||
TComp ty -> TComp $ stripTerm ty
|
||||
TWild ty -> TWild $ stripTerm ty
|
||||
_ -> ti
|
||||
R [] -> EInt 8 --- GF 1.2 parser doesn't accept empty records
|
||||
RecType [] -> Cn (zIdent "Int") ---
|
||||
---- R [] -> EInt 8 --- GF 1.2 parser doesn't accept empty records
|
||||
---- RecType [] -> Cn (zIdent "Int") ---
|
||||
_ -> composSafeOp stripTerm t
|
||||
|
||||
stripPattern p = case p of
|
||||
|
||||
@@ -1 +1 @@
|
||||
module Today where today = "Tue May 18 23:54:22 CEST 2004"
|
||||
module Today where today = "Fri May 21 18:10:31 CEST 2004"
|
||||
|
||||
Reference in New Issue
Block a user