summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesI.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-03-20 21:21:50 +0000
committeraarne <aarne@chalmers.se>2010-03-20 21:21:50 +0000
commit5584415807061e801c124bdbaa37350c3b418a25 (patch)
tree5047ed35f1668be91a2d7222ba915907b6b09c22 /examples/phrasebook/SentencesI.gf
parentfba592ecf8f7a14b30f7bcef932f516396169ee9 (diff)
started Phrasebook with Finnish and Romanian
Diffstat (limited to 'examples/phrasebook/SentencesI.gf')
-rw-r--r--examples/phrasebook/SentencesI.gf25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/phrasebook/SentencesI.gf b/examples/phrasebook/SentencesI.gf
new file mode 100644
index 000000000..b917d70c9
--- /dev/null
+++ b/examples/phrasebook/SentencesI.gf
@@ -0,0 +1,25 @@
+incomplete concrete SentencesI of Sentences = Numeral **
+ open Syntax in {
+ lincat
+ Sentence = Utt ;
+ Item = NP ;
+ Kind = CN ;
+ Quality = AP ;
+ Object = NP ;
+ lin
+ Is item quality = mkUtt (mkCl item quality) ;
+ IsNot item quality = mkUtt (mkS negativePol (mkCl item quality)) ;
+ WhetherIs item quality = mkUtt (mkQCl (mkCl item quality)) ;
+ IWant obj = mkUtt (mkCl (mkNP i_Pron) want_VV (mkVP have_V2 obj)) ;
+ DoYouHave kind =
+ mkUtt (mkQCl (mkCl (mkNP youPol_Pron) have_V2 (mkNP kind))) ;
+ ObjItem i = i ;
+ ObjNumber n k = mkNP <n : Numeral> k ;
+
+ This kind = mkNP this_Quant kind ;
+ That kind = mkNP that_Quant kind ;
+ These kind = mkNP this_Quant plNum kind ;
+ Those kind = mkNP that_Quant plNum kind ;
+ SuchKind quality kind = mkCN quality kind ;
+ Very quality = mkAP very_AdA quality ;
+}