mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 16:42:51 -06:00
partial adjectives support
This commit is contained in:
@@ -139,6 +139,22 @@ resource ResBul = ParamX ** open Prelude in {
|
||||
<DNeut,Def> => DNeutDef
|
||||
} ;
|
||||
|
||||
nform2aform : NForm -> DGender -> AForm
|
||||
= \nf,g -> case nf of {
|
||||
NF n spec => aform (gennum g n) spec Acc ;
|
||||
NFSgDefNom => aform (gennum g Sg) Def Nom ;
|
||||
NFPlCount => APl Indef ;
|
||||
NFVocative => aform (gennum g Sg) Indef Acc
|
||||
} ;
|
||||
|
||||
indefNForm : NForm -> NForm
|
||||
= \nf -> case nf of {
|
||||
NF n spec => NF n Indef ;
|
||||
NFSgDefNom => NF Sg Indef ;
|
||||
NFPlCount => NFPlCount ;
|
||||
NFVocative => NFVocative
|
||||
} ;
|
||||
|
||||
oper
|
||||
-- For $Verb$.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user