mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-15 10:00:11 -06:00
support for measurement units
This commit is contained in:
@@ -241,4 +241,16 @@ lin
|
||||
preferShort=PreferFull
|
||||
} ;
|
||||
|
||||
QuantityNP n m = {
|
||||
s = \\cas => preOrPost m.isPre m.s n.s;
|
||||
pron=False ;
|
||||
a=Ag (gennum Masc (numSizeNumber n.size)) P3
|
||||
} ;
|
||||
|
||||
QuantityFloatNP n1 n2 m = {
|
||||
s = \\cas => preOrPost m.isPre m.s (n1.s ++ BIND ++ "." ++ BIND ++ n2.s) ;
|
||||
pron=False ;
|
||||
a=Ag GPl P3
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
@@ -597,4 +597,7 @@ oper
|
||||
Second | SecondA => (Z.sg1StemFromVerb sg1) + "ит" ;
|
||||
_ => (Z.sg1StemFromVerb sg1) + "ет"
|
||||
} in (guessVerbForms asp Transitive inf sg1 sg3) ** {lock_V=<>} ;
|
||||
|
||||
mkMU : Str -> MU = \s -> lin MU {s=s; isPre=False} ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user