diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2011-08-30 15:23:59 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2011-08-30 15:23:59 +0000 |
| commit | a29a4408a8dc2306b5a2fd1a3af4b8a69d0a8785 (patch) | |
| tree | 0d4cacd59334d1e4ade6d266684812d65072799f /examples/nlg/NLGEng.gf | |
| parent | c70df9200c3244f45f75dcaefa650a82ddab55cc (diff) | |
added quantifier ambiguity in the NLG example
Diffstat (limited to 'examples/nlg/NLGEng.gf')
| -rw-r--r-- | examples/nlg/NLGEng.gf | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/nlg/NLGEng.gf b/examples/nlg/NLGEng.gf index 61f444ca2..f1bd64881 100644 --- a/examples/nlg/NLGEng.gf +++ b/examples/nlg/NLGEng.gf @@ -10,11 +10,13 @@ lincat NP = Eng.NP; AP = Eng.AP; VP = Eng.VP; + VPSlash = Eng.VPSlash; V2 = Eng.V2; V = Eng.V; Comp=Eng.Comp; Pol= Eng.Pol; Cl = Eng.Cl; + ClSlash = Eng.ClSlash; S = Eng.S; Utt= Eng.Utt; Conj = Eng.Conj; @@ -25,7 +27,13 @@ lin DetCN _ _ = Eng.DetCN; UseN _ = Eng.UseN; UsePN _ = Eng.UsePN; - ComplV2 _ _ v2 np = Eng.ComplSlash (Eng.SlashV2a v2) np; + SlashV2a _ = Eng.SlashV2a; + ComplSlash _ _ = Eng.ComplSlash; + SlashVP _ _ = Eng.SlashVP; + ComplClSlash _ _ cl np = lin Cl { + s = \\t,a,p,o => cl.s ! t ! a ! p ! o ++ cl.c2 ++ np.s ! NCase Nom + } ; + UseComp _ = Eng.UseComp ; CompAP _ = Eng.CompAP ; CompNP _ = Eng.CompNP ; |
