mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-28 01:18:57 -06:00
Enable some of the phrase building functions
This commit is contained in:
@@ -1,31 +1,28 @@
|
|||||||
incomplete concrete PhraseBantu of Phrase =
|
incomplete concrete PhraseBantu of Phrase =
|
||||||
CatBantu ** open CommonBantu, ResBantu, Prelude in { }
|
CatBantu ** open CommonBantu, ResBantu, Prelude in {
|
||||||
{-}
|
|
||||||
flags optimize = all_subs ;
|
|
||||||
|
|
||||||
lin
|
lin
|
||||||
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
|
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
|
||||||
|
|
||||||
UttS s = {s = s.s ! Indic} ;
|
UttS s = {s = s.s} ;
|
||||||
UttQS qs = {s = qs.s ! QDir} ;
|
UttQS qs = {s = qs.s ! QDir} ;
|
||||||
UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Sg False ! Fem} ;
|
{- UttImpSg pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Sg False ! Fem} ;
|
||||||
UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Pl False ! Fem} ;
|
UttImpPl pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Pl False ! Fem} ;
|
||||||
UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Sg True ! Fem} ;
|
UttImpPol pol imp = {s = pol.s ++ imp.s ! pol.p ! ImpF Sg True ! Fem} ;
|
||||||
|
|
||||||
UttIP ip = {s = ip.s ! Nom} ; --- Acc also
|
UttIP ip = {s = ip.s ! Nom} ; --- Acc also -}
|
||||||
UttIAdv iadv = iadv ;
|
UttIAdv iadv = iadv ;
|
||||||
UttNP np = {s = (np.s ! Nom).ton} ;
|
{- UttNP np = {s = (np.s ! Nom).ton} ;
|
||||||
UttVP vp = {s = infVP vp (agrP3 Fem Sg)} ; --- Agr
|
UttVP vp = {s = infVP vp (agrP3 Fem Sg)} ; --- Agr -}
|
||||||
UttAdv adv = adv ;
|
UttAdv adv = adv ;
|
||||||
UttCN n = {s = n.s ! Sg} ;
|
{- UttCN n = {s = n.s ! Sg} ;
|
||||||
UttAP ap = {s = ap.s ! AF Masc Sg} ;
|
UttAP ap = {s = ap.s ! AF Masc Sg} ;
|
||||||
UttCard n = {s = n.s ! Masc} ;
|
UttCard n = {s = n.s ! Masc} ;-}
|
||||||
UttInterj i = i ;
|
UttInterj i = i ;
|
||||||
|
|
||||||
NoPConj = {s = []} ;
|
NoPConj = {s = []} ;
|
||||||
PConjConj conj = {s = conj.s2} ;
|
PConjConj conj = {s = conj.s2} ;
|
||||||
|
|
||||||
NoVoc = {s = []} ;
|
NoVoc = {s = []} ;
|
||||||
VocNP np = {s = "," ++ (np.s ! Nom).ton} ;
|
{- VocNP np = {s = "," ++ (np.s ! Nom).ton} ; -}
|
||||||
|
}
|
||||||
-}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user