tools/c++

This commit is contained in:
aarne
2006-09-22 15:13:23 +00:00
parent 3a79588dd4
commit 71ddbc1346
4 changed files with 8402 additions and 0 deletions

21
src/tools/c++/README Normal file
View 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.