diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-11-03 17:22:21 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-11-03 17:22:21 +0000 |
| commit | d6f09a941f4b5f96d4c7364461c318ca64389b17 (patch) | |
| tree | 539370d646707f86d5cd5c6c747243eb74c423bc /next-lib/src | |
| parent | 9ecc663d00fd91e8c0108785722c735348528f9e (diff) | |
some tutorial updates ; new structural words Italian and Finnish
Diffstat (limited to 'next-lib/src')
| -rw-r--r-- | next-lib/src/finnish/StructuralFin.gf | 27 | ||||
| -rw-r--r-- | next-lib/src/italian/StructuralIta.gf | 21 |
2 files changed, 48 insertions, 0 deletions
diff --git a/next-lib/src/finnish/StructuralFin.gf b/next-lib/src/finnish/StructuralFin.gf index 43092fb23..a5fae7bfe 100644 --- a/next-lib/src/finnish/StructuralFin.gf +++ b/next-lib/src/finnish/StructuralFin.gf @@ -292,6 +292,33 @@ oper lock_NP = <> } ; +lin + not_Predet = {s = \\_,_ => "vain"} ; + nothing_but_Predet = + {s = \\n,c => "ei" ++ mikaanPron ! n ! npform2case n c ++ "paitsi"} ; + nobody_but_Predet = + {s = \\n,c => "ei" ++ kukaanPron ! n ! npform2case n c ++ "paitsi"} ; + + no_Quant = { + s1 = \\n,c => "ei" ++ mikaanPron ! n ! c ; + s2 = [] ; isNum,isPoss = False ; isDef = True ; + } ; + + if_then_Conj = {s1 = "jos" ; s2 = "niin" ; n = Sg} ; + nobody_NP = { + s = \\c => "ei" ++ kukaanPron ! Sg ! npform2case Sg c ; + a = agrP3 Sg ; + isPron = False + } ; + + nothing_NP = { + s = \\c => "ei" ++ mikaanPron ! Sg ! npform2case Sg c ; + a = agrP3 Sg ; + isPron = False + } ; + + at_least_AdN = ss "vähintään" ; + at_most_AdN = ss "enintään" ; } diff --git a/next-lib/src/italian/StructuralIta.gf b/next-lib/src/italian/StructuralIta.gf index 905355b0f..d080b4d7d 100644 --- a/next-lib/src/italian/StructuralIta.gf +++ b/next-lib/src/italian/StructuralIta.gf @@ -152,6 +152,27 @@ lin mkPronoun "Lei" "La" "Le" "Glie" "Lei" "Suo" "Sua" "Suoi" "Sue" Masc Sg P3 ; + not_Predet = {s = \\a,c => prepCase c ++ "pas" ; c = Nom} ; + nothing_but_Predet = {s = \\a,c => prepCase c ++ "rien excepté" ; c = Nom} ; + nobody_but_Predet = {s = \\a,c => prepCase c ++ "personne excepté" ; c = Nom} ; + + + no_Quant = + let aucun : ParadigmsIta.Number => ParadigmsIta.Gender => Case => Str = table { + Sg => \\g,c => prepCase c ++ genForms "nessuno" "nessuna" ! g ; + Pl => \\g,c => prepCase c ++ genForms "nessuni" "nessune" ! g ---- + } + in { + s = \\_ => aucun ; + sp = aucun ; + s2 = [] + } ; + if_then_Conj = {s1 = "si" ; s2 = "allora" ; n = Sg ; lock_Conj = <>} ; + nobody_NP = pn2np (mkPN ["nessuno"] Masc) ; + + nothing_NP = pn2np (mkPN "niente" Masc) ; + at_least_AdN = ss "almeno" ; + at_most_AdN = ss "al massimo" ; } |
