summaryrefslogtreecommitdiff
path: root/src/tools/c++/README
blob: 696e39469791606246c79b327e79bbf0c450aee2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.