G R E E N L A N D I C G R A M M A R C H E C K E R
```
In the catalogue for kal, do:
./autogen.sh
./configure –enable-grammarchecker –enable-spellers
make -j
cd tools/grammarcheckers
make dev
Then test as follows:
echo “e Nerisassiornermut soqutigisaqarpit?|sh modes/trace-kalgram.mode # from the terminal
Or eventually, write
make check
Tag declaration
Import tag declarations
We import tag declaration from ../../src/cg3/disambiguator.cg3
Rule section
Speller suggestions rule
add &SUGGESTWF to any spelling suggestion that we actually want to suggest to the user. The simplest is to just add it to all spelled words:
@OUTSIDE RULES@
Grammatical rules
Verb valency rules
ADD:msyn-subj-rel-abs-poss
ADD:msyn-subj-rel-abs-poss
Simple punctuation rules
Rules for quotation marks.
This (part of) documentation was generated from tools/grammarcheckers/grammarchecker.cg3