Greetings Apertiumers!

I have yet another announcement for you all.

Tino Didriksen and I have at long last vanquished one of the Python
package managers (actually a messy amalgamation of 2 of them, but it's
best not to dwell on that point) to bring you apertium-lint!

To install apertium-lint:
pip3 install apertium-lint

To run apertium-lint:
apertium-lint

This will analyze all Apertium files in the current directory and
produce output such as the following (abbreviated from the output on
apertium-kir):

/home/daniel/apertium/apertium-data/apertium-kir $ apertium-lint
./modes.xml
Error (install-deps) on line 8: Debug modes using files in .deps/
should not be installed.
./paper/paper.tex
Warning (unnorm) on line 113: Line contains non-normalized characters.
./apertium-kir.kir.rlx
Warning (unuse-set) on line 23: Set Pron-Pers defined but not used.
Error (redef-set) on line 63: Redefinition of set Pl.
Errors: 10 Warnings: 11 Suggestions: 0 Nitpicks: 0

I hope its analysis proves useful (the check that identifies which
lines have non-breaking spaces has already helped me a few times) and
I'm happy to add more things for it to check.

Daniel


_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to