Hi,

as you know, we run a nightly test to see how the changes made to the LT 
code and rules lead to fewer or more errors being detected (see results 
at https://languagetool.org/regression-tests/).

However, sometimes one doesn't want to wait for that and run tests 
locally. This is now easier using this new script a have added to git: 
languagetool-standalone/scripts/regression-test.sh

You can use it like this (requires a Unix platform and a developer setup 
with Java and Maven):

1. cd languagetool-standalone/scripts/
./regression-test.sh en /path/to/textfile.txt 25000
This will compile LT and run it on the first 25,000 lines of the given 
file and store the result.

2. Now make your changes to the LT code and/or rules

3. Run the script again, with the same parameters. It will show a diff 
of the old/new output so you can easily spot which new errors have been 
detected and which errors are not being detected anymore.

Regards
  Daniel


------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to