diff options
| author | aarne <aarne@chalmers.se> | 2013-10-11 12:16:03 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2013-10-11 12:16:03 +0000 |
| commit | 7f74cdcb76582ec88b6b825fde93ec7a14e03f2e (patch) | |
| tree | b3ee79862d1f8e822aa525bcb2f305d2c39f3d66 /examples/phrasebook/SentencesChi.gf | |
| parent | 75380bc0e458b1c42294980f5ffc8b26bc1b772c (diff) | |
Chi phrasebook bootstrapped from Tha; far from finished
Diffstat (limited to 'examples/phrasebook/SentencesChi.gf')
| -rw-r--r-- | examples/phrasebook/SentencesChi.gf | 23 |
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) + } ; + +} |
