diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/numerals/README | 14 | ||||
| -rw-r--r-- | examples/numerals/zaiwa.gf | 2 |
2 files changed, 7 insertions, 9 deletions
diff --git a/examples/numerals/README b/examples/numerals/README index 8a801b730..74afba7b2 100644 --- a/examples/numerals/README +++ b/examples/numerals/README @@ -18,18 +18,14 @@ To precompile a multilingual numeral grammar: gf <mkNumerals.gfs -To open a translation session, +To test, - gf numerals.gfcm -- in the OS shell - ts -lang -- in the GF shell + gf numerals.gfcm -- in the OS shell + generate_random | tree_bank -- in the GF shell -To create an example HTML page with translations of a numeral: + parse -lang=danish "tres" | linearize -lang=english - echo "x=2341" | gft numerals.gfcm >2341.html - -(Requires the gft program, produced by "make gft" in GF sources) - -Document last updated August 3, 2004 by Aarne Ranta. +Document last updated 18 June 2007 by Aarne Ranta. Copyright (c) Koen Claessen, Carlos Gonzalía, Qiao Haiyan, Harald Hammarström, Patrik Jansson, Peter Ljunglöf, Wojciech Mostowski, Aarne diff --git a/examples/numerals/zaiwa.gf b/examples/numerals/zaiwa.gf index e40645175..859378c49 100644 --- a/examples/numerals/zaiwa.gf +++ b/examples/numerals/zaiwa.gf @@ -1,5 +1,7 @@ include numerals.Abs.gf ; +flags lexer = words ; + param Size = sg | sub10 | pl ; oper LinDigit = {s : Str ; size : Size} ; |
