mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 18:59:32 -06:00
The support for variation of the noun depending on what cardinal it is
used with seems to be complete by now ("one child - two children -
five children" - Russian has different plural forms for "a child" when
counting). The case agreement in noun phrases that have additional
determiners besides numerals ("three little blind mice") is fixed too.
31 lines
994 B
Plaintext
31 lines
994 B
Plaintext
--# -path=.:../abstract:../common:../../prelude
|
|
|
|
concrete PhraseRus of Phrase = CatRus ** open Prelude, ResRus in {
|
|
|
|
flags coding=utf8 ;
|
|
lin
|
|
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
|
|
|
|
UttS s = s ;
|
|
UttQS qs = {s = qs.s ! QDir} ;
|
|
UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc! Sg} ;
|
|
UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc!Pl} ;
|
|
UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! Masc! Sg} ; ---- ?? AR
|
|
|
|
UttIP ip = {s = ip.s ! PF Nom No NonPoss} ; --- Acc also
|
|
UttIAdv iadv = iadv ;
|
|
UttNP np = {s = np.s ! PF Acc No NonPoss} ;
|
|
UttVP vp = {s = vp.s ! ClInfinit ! GSg Masc ! P3} ;
|
|
UttAdv adv = adv ;
|
|
UttCN n = {s = n.s ! NF Sg Nom nom} ;
|
|
UttCard n = {s = n.s ! Neut ! Inanimate ! Nom} ;
|
|
UttAP ap = {s = ap.s ! AF Nom Inanimate (GSg Neut)} ; ---- gennum ? (AR)
|
|
|
|
NoPConj = {s = []} ;
|
|
PConjConj conj = ss conj.s2 ;
|
|
|
|
NoVoc = {s = []} ;
|
|
VocNP np = {s = "," ++ np.s ! PF Nom No NonPoss} ;
|
|
|
|
}
|