1
0
forked from GitHub/gf-core

updated document for numerals

This commit is contained in:
aarne
2007-06-18 19:25:35 +00:00
parent c4d855e64d
commit 6b99696e86
2 changed files with 7 additions and 9 deletions

View File

@@ -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

View File

@@ -1,5 +1,7 @@
include numerals.Abs.gf ;
flags lexer = words ;
param Size = sg | sub10 | pl ;
oper LinDigit = {s : Str ; size : Size} ;