Finite state and Constraint Grammar based analysers, proofing tools and other resources
View the project on GitHub giellalt/lang-kal
```
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
We import tag declaration from ../../src/cg3/disambiguator.cg3
LIST @CODE@typo = @CODE@typo ;
LIST @CODE@msyn-arg-abs-rel = @CODE@msyn-arg-abs-rel ;
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:
@RULENAME@msyn-arg-abs-rel
ADD:msyn-arg-trm-ins
ADD:msyn-arg-trm-ins
ADD:msyn-arg-ins-trm
ADD:msyn-arg-ins-trm
ADD:msyn-arg-abs-rel
ADD:msyn-arg-abs-rel
Rules for quotation marks.
This (part of) documentation was generated from tools/grammarcheckers/grammarchecker.cg3