1
0
forked from GitHub/gf-rgl

=Implemented the abstract function VocNP and PConjConj in PhraseCgg.gf

This commit is contained in:
David Bamutura
2020-10-26 16:41:58 +03:00
parent 9ba407f051
commit 24d3d2abaa
2 changed files with 2 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ lin
PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ; PhrUtt pconj utt voc = {s = pconj.s ++ utt.s ++ voc.s} ;
NoPConj = {s = ""} ; NoPConj = {s = ""} ;
PConjConj conj = {s = conj.s ! AConj Other} ;
NoVoc = {s = ""} ; NoVoc = {s = ""} ;
VocNP np = {s=np.s !Nom} ; VocNP np = {s=np.s !Nom} ;

View File

@@ -1626,6 +1626,7 @@ oper
--Conjunctions --Conjunctions
-- arguments to conjunctions determine which version is used
Conjunction : Type = {s : AgrConj =>Str ;s2 : Str ; n : Number} ; Conjunction : Type = {s : AgrConj =>Str ;s2 : Str ; n : Number} ;
-- For $Numeral$. -- For $Numeral$.