summaryrefslogtreecommitdiff
path: root/sa-extract/example/README
blob: f6eac52b4f9a26c7011cacfbcf10a0bff41dac07 (plain)
1
2
3
4
5
6
7
8
Commands to compile a corpus and extract some grammars
======================================================

# compile
../sa-compile.pl -b nc=corpus.de.gz,corpus.en.gz -a gdfa=corpus.align.gz > extract.ini
# extract
cat test.de | ../escape-testset.pl | ../extractor.py -c extract.ini