summaryrefslogtreecommitdiff
path: root/examples/phrasebook/SentencesChi.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2013-10-11 12:16:03 +0000
committeraarne <aarne@chalmers.se>2013-10-11 12:16:03 +0000
commit7f74cdcb76582ec88b6b825fde93ec7a14e03f2e (patch)
treeb3ee79862d1f8e822aa525bcb2f305d2c39f3d66 /examples/phrasebook/SentencesChi.gf
parent75380bc0e458b1c42294980f5ffc8b26bc1b772c (diff)
Chi phrasebook bootstrapped from Tha; far from finished
Diffstat (limited to 'examples/phrasebook/SentencesChi.gf')
-rw-r--r--examples/phrasebook/SentencesChi.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/phrasebook/SentencesChi.gf b/examples/phrasebook/SentencesChi.gf
new file mode 100644
index 000000000..99133e906
--- /dev/null
+++ b/examples/phrasebook/SentencesChi.gf
@@ -0,0 +1,23 @@
+concrete SentencesChi of Sentences = NumeralChi ** SentencesI - [APlace,ThePlace]
+ with
+ (Syntax = SyntaxChi),
+ (Symbolic = SymbolicChi),
+ (Lexicon = LexiconChi) ** open SyntaxChi in {
+
+flags coding=utf8 ;
+
+lin
+ ThePlace kind =
+ let name : NP = lin NP (Syntax.mkNP theSg_Det kind.name) in {
+ name = lin NP name ;
+ at = mkAdv kind.at (lin NP name) ;
+ to = mkAdv kind.to (lin NP name)
+ } ;
+ APlace kind =
+ let name : NP = lin NP (Syntax.mkNP aSg_Det kind.name) in {
+ name = lin NP name ;
+ at = mkAdv kind.at (lin NP name) ;
+ to = mkAdv kind.to (lin NP name)
+ } ;
+
+}