1
0
forked from GitHub/gf-core

Significant advances in Maltese verb morphology

This commit is contained in:
john.j.camilleri
2012-07-19 16:19:56 +00:00
parent 4884087c2f
commit 01c58b4e23
10 changed files with 1584 additions and 798 deletions

View File

@@ -6,6 +6,44 @@
concrete AdjectiveMlt of Adjective = CatMlt ** open ResMlt, Prelude in {
-- AP
lin
-- A -> AP
PositA a = {
s = \\gn => a.s ! (APosit gn) ;
isPre = True -- TO CHECK
} ;
-- A -> NP -> AP
ComparA a np = {
s = \\gn => case a.hasComp of {
True => a.s ! ACompar ;
_ => compMore ++ a.s ! (APosit gn)
}
++ conjThan ++ np.s ! Nom ;
isPre = False -- TO CHECK
} ;
-- A -> AP
UseComparA a = {
s = \\gn => case a.hasComp of {
True => a.s ! ACompar ;
_ => compMore ++ a.s ! (APosit gn)
} ;
isPre = False -- TO CHECK
} ;
-- Ord -> AP
-- AdjOrd ord = {
-- s = \\_ => ord.s ! Nom ;
-- isPre = True
-- } ;
oper
-- TODO: Don't know where these should go
compMore : Str = "iktar" | "iżjed" ;
compLess : Str = "inqas" ;
conjThan : Str = "minn" ;
}