mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 08:42:50 -06:00
moved all old source code to src-2.9 ; src will be for GF 3 development
This commit is contained in:
21
src-2.9/tools/c++/README
Normal file
21
src-2.9/tools/c++/README
Normal file
@@ -0,0 +1,21 @@
|
||||
Aarne Ranta 21/9/2006
|
||||
|
||||
Interpreter for ready-made translation lists. Supports
|
||||
translation, random generation, and translation quiz.
|
||||
|
||||
To compile:
|
||||
|
||||
g++ -o gfex gfex.cpp
|
||||
|
||||
To use:
|
||||
|
||||
./gfex peace.gft
|
||||
|
||||
To produce a gft file in GF:
|
||||
|
||||
gt | tb -unlexer=unwords -compact | wf foo.gft
|
||||
|
||||
The format uses encoding of words as integers, which
|
||||
gives a memory-efficient run-time program. Also the
|
||||
treebank file size is about 1/3 of sentences stored
|
||||
in words.
|
||||
Reference in New Issue
Block a user