Grammarchecker Compilation

Get the divvun-gramcheck packega

 curl | sudo bash
 test -d ~/src || mkdir ~/src
 cd ~/src
 git clone
 cd divvun-gramcheck
 sudo make install

Set up and compile the grammarchecker

Have a look at these course notes

In $GTHOME/langs/$LANG, do

./configure --enable-apertium --with-hfst --enable-syntax --enable-grammarchecker --enable-tokenisers --enable-alignment --enable-reversed-intersect
cd tools/grammarcheckers
make dev

For testing, see the commands at the beginning of the grammarchecker.cg3 file in tools/grammarcheckers