summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesGer.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-05-29 09:18:20 +0000
committeraarne <aarne@chalmers.se>2010-05-29 09:18:20 +0000
commit510a4044675fdc6540e4a74aee656f25bdde9319 (patch)
treedea66f32061bf23e7422576a32bc98cd730aaaca /examples/phrasebook/SentencesGer.gf
parentdeacb0219575d8e8ae8e6f0fdfb379bfe05aceb0 (diff)
more accurate treatment of negative "have" clauses in Phrasebook
Diffstat (limited to 'examples/phrasebook/SentencesGer.gf')
-rw-r--r--examples/phrasebook/SentencesGer.gf10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/phrasebook/SentencesGer.gf b/examples/phrasebook/SentencesGer.gf
index 22facc45c..e33f0f0c6 100644
--- a/examples/phrasebook/SentencesGer.gf
+++ b/examples/phrasebook/SentencesGer.gf
@@ -1,8 +1,12 @@
-concrete SentencesGer of Sentences = NumeralGer ** SentencesI - [PYesToNo] with
+concrete SentencesGer of Sentences = NumeralGer ** SentencesI -
+ [PYesToNo,SHaveNo,SHaveNoMass] with
(Syntax = SyntaxGer),
(Symbolic = SymbolicGer),
- (Lexicon = LexiconGer) ** open Prelude in {
+ (Lexicon = LexiconGer) ** open Prelude, SyntaxGer in {
- lin PYesToNo = mkPhrase (lin Utt (ss "doch")) ;
+ lin
+ PYesToNo = mkPhrase (lin Utt (ss "doch")) ;
+ SHaveNo p k = mkS (mkCl p.name have_V2 (mkNP no_Quant plNum k)) ;
+ SHaveNoMass p k = mkS (mkCl p.name have_V2 (mkNP no_Quant k)) ;
}