From 7f74cdcb76582ec88b6b825fde93ec7a14e03f2e Mon Sep 17 00:00:00 2001 From: aarne Date: Fri, 11 Oct 2013 12:16:03 +0000 Subject: Chi phrasebook bootstrapped from Tha; far from finished --- examples/phrasebook/SentencesChi.gf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 examples/phrasebook/SentencesChi.gf (limited to 'examples/phrasebook/SentencesChi.gf') 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) + } ; + +} -- cgit v1.2.3