mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-09-29 13:43:40 -06:00
more updates from Codex
This commit is contained in:
+68
-2
@@ -4,12 +4,73 @@ param CardOrd = NCard | NOrd ;
|
||||
param Aspect = Non_Past | Perfect ;
|
||||
param Case = Nom | Dat | Ablat | Instr | Loc ;
|
||||
param PartType = Resultative | Subject ;
|
||||
oper Verb = {s: Str; causative: Str; conditional: Aspect => Person => Number => Str; converb: {imperfective: Str; futCon1: Str; futCon2: Str; negative: Str; perfective: Str; simultaneous: Str}; imperative: Number => Str; passive: Str; past: Person => Number => Str; participle: PartType => Str; subjunctive: Aspect => Person => Number => Str} ; -- 898
|
||||
oper Verb = {s: Str; causative: Str; conditional: Aspect => Person => Number => Str; converb: {imperfective: Str; futCon1: Str; futCon2: Str; negative: Str; perfective: Str; simultaneous: Str}; imperative: Number => Str; passive: Str; passivePart: Str; past: Person => Number => Str; participle: PartType => Str; subjunctive: Aspect => Person => Number => Str} ; -- 898
|
||||
oper presentAux : Person -> Number -> Str = \p,n -> case <p,n> of {
|
||||
<P1,Sg> => "եմ"; <P2,Sg> => "ես"; <P3,Sg> => "է";
|
||||
<P1,Pl> => "ենք"; <P2,Pl> => "եք"; <P3,Pl> => "են"
|
||||
} ;
|
||||
oper negativePresentAux : Person -> Number -> Str = \p,n -> case <p,n> of {
|
||||
<P1,Sg> => "չեմ"; <P2,Sg> => "չես"; <P3,Sg> => "չի";
|
||||
<P1,Pl> => "չենք"; <P2,Pl> => "չեք"; <P3,Pl> => "չեն"
|
||||
} ;
|
||||
oper pastAux : Person -> Number -> Str = \p,n -> case <p,n> of {
|
||||
<P1,Sg> => "էի"; <P2,Sg> => "էիր"; <P3,Sg> => "էր";
|
||||
<P1,Pl> => "էինք"; <P2,Pl> => "էիք"; <P3,Pl> => "էին"
|
||||
} ;
|
||||
oper negativePastAux : Person -> Number -> Str = \p,n -> case <p,n> of {
|
||||
<P1,Sg> => "չէի"; <P2,Sg> => "չէիր"; <P3,Sg> => "չէր";
|
||||
<P1,Pl> => "չէինք"; <P2,Pl> => "չէիք"; <P3,Pl> => "չէին"
|
||||
} ;
|
||||
oper copulaVerb : Verb = {
|
||||
s = "լինել";
|
||||
causative = "լինել";
|
||||
conditional = table {
|
||||
Perfect => table {
|
||||
P1 => table {Sg => "կլինեի"; Pl => "կլինեինք"};
|
||||
P2 => table {Sg => "կլինեիր"; Pl => "կլինեիք"};
|
||||
P3 => table {Sg => "կլիներ"; Pl => "կլինեին"}
|
||||
};
|
||||
Non_Past => table {
|
||||
P1 => table {Sg => "կլինեմ"; Pl => "կլինենք"};
|
||||
P2 => table {Sg => "կլինես"; Pl => "կլինեք"};
|
||||
P3 => table {Sg => "կլինի"; Pl => "կլինեն"}
|
||||
}
|
||||
};
|
||||
converb = {
|
||||
imperfective = [];
|
||||
futCon1 = "լինելու";
|
||||
futCon2 = "լինելիք";
|
||||
negative = "լինի";
|
||||
perfective = "եղել";
|
||||
simultaneous = "լինելիս"
|
||||
};
|
||||
imperative = table {Sg => "եղի՛ր"; Pl => "եղե՛ք"};
|
||||
passive = "լինել";
|
||||
passivePart = "եղած";
|
||||
past = table {
|
||||
P1 => table {Sg => "էի"; Pl => "էինք"};
|
||||
P2 => table {Sg => "էիր"; Pl => "էիք"};
|
||||
P3 => table {Sg => "էր"; Pl => "էին"}
|
||||
};
|
||||
participle = table {Resultative => "եղած"; Subject => "լինող"};
|
||||
subjunctive = table {
|
||||
Perfect => table {
|
||||
P1 => table {Sg => "լինեի"; Pl => "լինեինք"};
|
||||
P2 => table {Sg => "լինեիր"; Pl => "լինեիք"};
|
||||
P3 => table {Sg => "լիներ"; Pl => "լինեին"}
|
||||
};
|
||||
Non_Past => table {
|
||||
P1 => table {Sg => "լինեմ"; Pl => "լինենք"};
|
||||
P2 => table {Sg => "լինես"; Pl => "լինեք"};
|
||||
P3 => table {Sg => "լինի"; Pl => "լինեն"}
|
||||
}
|
||||
}
|
||||
} ;
|
||||
oper invarVerb : Str -> Verb = \s -> {
|
||||
s=s; causative=s;
|
||||
conditional=table {_ => table {_ => table {_ => s}}};
|
||||
converb={imperfective=s;futCon1=s;futCon2=s;negative=s;perfective=s;simultaneous=s};
|
||||
imperative=table {_ => s}; passive=s;
|
||||
imperative=table {_ => s}; passive=s; passivePart=s;
|
||||
past=table {_ => table {_ => s}};
|
||||
participle=table {_ => s};
|
||||
subjunctive=table {_ => table {_ => table {_ => s}}}
|
||||
@@ -60,6 +121,11 @@ oper mkVerb : (_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
|
||||
Pl => f22
|
||||
} ;
|
||||
passive = f23 ;
|
||||
passivePart = case f23 of {
|
||||
stem + "ել" => stem + "ած";
|
||||
stem + "ալ" => stem + "ացած";
|
||||
_ => f23
|
||||
} ;
|
||||
past = table {
|
||||
P1 => table {
|
||||
Sg => f24 ;
|
||||
|
||||
Reference in New Issue
Block a user