The command line looks like this (for sme, supposing you stand in the sme directory):
sme$ cat sometext.txt | preprocess --abbr=bin/abbr.txt | lookup -flags mbTT bin/sme.fst | ../script/lookup2cg | vislcg --grammar=src/sme-dis.rle | less
The vislcg program contains 18 flags, or usage options. A list of the flags may be obtained by writing the following command:
vislcg --help
i.e., by using the flag --help. The most relevant flags for our use are the following:
Tapanainen's original CG-2 parser mdis is available from Connexor. A copy of the parser is available for staff and students on the computer of the ling.dept at the U of Helsinki, at ~tapanain/conexor/mdis/bin/. The parser cannot be used outside this computer.
The CG-2 parser is actually two different CG-2 parsers (Tap96 mentions 4 more parsers, this information is obsolete):
This list given here is not complete, but includes only relevant flags. For a full list, see Tap96.
Thus, CG-2 differs from vislcg, that consists of only one parser (vislcg), but has more flags (also more flags than CG-2).
Tapanainen, Pasi 1996: The Constraint Grammar Parser CG-2. University of Helsinki Publications No. 27.
Last modified: Wed Sep 24 02:01:43 2003