GiellaLT provides an infrastructure for rule-based language technology aimed at minority and indigenous languages, and streamlines building anything from keyboards to speech technology. Read more about Why. See also How to get started, and our Privacy document.
This page is incomplete. Consult the vislcg3 documentation as well as these notes.
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 | vislcg3 -g src/sme-dis.rle | less
The vislcg3 program contains a large number of flags, or usage options. A list of the flags may be obtained by writing the following command:
vislcg3 --help
i.e., by using the flag –help. The most relevant flags for our use are the following:
Didriksen, Tino 2007: Constraint Grammar Manual. 3rd version of the CG formalism variant. http://beta.visl.sdu.dk/cg3/
Karlsson, Fred; Atro Voutilainen, Juha Heikkilä and Arto Anttila 1995: Constraint Grammar. A Language-Independent System for Parsing Unrestricted Text. Mouton the Gruyter.
Tapanainen, Pasi 1996: The Constraint Grammar Parser CG-2. University of Helsinki Publications No. 27.