mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-30 11:08:35 -06:00
some fixes and new functionalities in Ita. Note: MassNP is now without "di" like in Spa and unlike in Fre
This commit is contained in:
@@ -75,7 +75,10 @@ oper
|
||||
|
||||
-- other prepositions
|
||||
|
||||
mkPrep : Str -> Prep ; -- other prepositions, e.g. "dopo"
|
||||
mkPrep : overload {
|
||||
mkPrep : Str -> Prep ; -- simple preposition (other than a, di, con, da, in, su)
|
||||
mkPrep : Str -> Prep -> Prep ; -- complex preposition e.g. "vicino a"
|
||||
} ;
|
||||
|
||||
|
||||
--2 Nouns
|
||||
@@ -328,7 +331,11 @@ oper
|
||||
accusative = lin Prep complAcc ;
|
||||
genitive, di_Prep = lin Prep complGen ;
|
||||
dative, a_Prep = lin Prep complDat ;
|
||||
mkPrep p = lin Prep {s = p ; c = Acc ; isDir = False ; lock_Prep = <>} ;
|
||||
|
||||
mkPrep = overload {
|
||||
mkPrep : Str -> Prep = \p -> {s = p ; c = Acc ; isDir = False ; lock_Prep = <>} ;
|
||||
mkPrep : Str -> Prep -> Prep = \s,c-> {s = s ; c = c.c ; isDir = False ; lock_Prep = <>}
|
||||
} ;
|
||||
|
||||
con_Prep = {s = [] ; c = CPrep P_con ; isDir = False ; lock_Prep = <>} ;
|
||||
da_Prep = {s = [] ; c = CPrep P_da ; isDir = False ; lock_Prep = <>} ;
|
||||
|
||||
Reference in New Issue
Block a user