diff options
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) + } ; + +} |
