mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-06-30 02:58:35 -06:00
Merge Reflexivity and Transitivity (untested)
This commit is contained in:
committed by
Roman Suzi
parent
58cfa9e8dc
commit
a793daaf11
+13
-4
@@ -18,8 +18,9 @@ param
|
||||
Animacy = Animate | Inanimate ; -- одушевлённый / неодушевлённый
|
||||
Voice = Act | Pass ; -- залог
|
||||
Aspect = Imperfective | Perfective ; -- вид / аспект
|
||||
Reflexivity = Reflexive | NonReflexive ; -- возвратность
|
||||
Reflexivity = Reflexive | NonReflexive ; -- возвратность -- keep just for the API
|
||||
Transitivity = Transitive | Intransitive ; -- возвратность
|
||||
ReflTran = Refl | Trans | Intrans ; -- this is what's inside VerbForms
|
||||
Mood = Infinitive | Sbjv | Imperative | Ind ; -- SBJV and COND will be treated as same for now
|
||||
|
||||
GenNum = GSg Gender | GPl ; -- The plural never makes a gender distinction
|
||||
@@ -100,10 +101,18 @@ oper
|
||||
: Str ;
|
||||
fut : SpecialFuture ;
|
||||
asp : Aspect ;
|
||||
refl : Reflexivity ;
|
||||
tran : Transitivity
|
||||
} ;
|
||||
refltran : ReflTran ;
|
||||
-- refl : Reflexivity ;
|
||||
-- tran : Transitivity
|
||||
} ;
|
||||
ComplementCase : Type = {s : Str ; c : Case ; neggen : Bool ; hasPrep : Bool} ;
|
||||
VerbForms2 : Type = VerbForms ** {c : ComplementCase} ;
|
||||
VerbForms3 : Type = VerbForms ** {c : ComplementCase ; c2 : ComplementCase} ;
|
||||
|
||||
reflTran : Reflexivity -> Transitivity -> ReflTran = \r,t ->
|
||||
case <r,t> of {
|
||||
<Reflexive,_> => Refl ;
|
||||
<_,Transitive> => Trans ;
|
||||
<_,Intransitive> => Intrans
|
||||
} ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user