GiellaLT provides rule-based language technology aimed at minority and indigenous languages
In order to work with grammarcheckers you need to install the grammarchecker tools.
There are different commands for Macintosh and Linux (Linux-on-Windows works as Linux here)
curl http://apertium.projectjj.com/osx/install-nightly.sh | sudo bash
TODO: Add command for Linux here
Find a place to store the divvun github files, e.g. in
Go to this folder, e.g. with a command like
Then clone the divvun-gramcheck folder from the divvun github site (via https as shown here, or via ssh) and compile and install it on your computer:
git clone https://github.com/divvun/divvun-gramcheck cd divvun-gramcheck scripts/get-pugixml-and-build sudo make install
In $GLANGS/lang-$LANG, do
./autogen.sh ./configure --enable-apertium --enable-syntax --enable-grammarchecker --enable-tokenisers --enable-alignment --enable-reversed-intersect make cd tools/grammarcheckers make dev
Have a look at these course notes
For testing, look at the Testing section on the grammarcehcker documentation page. You may also get some hints from the commands at the beginning of the
grammarchecker.cg3 file in the
tools/grammarcheckers folder of your language.