Hi, W dniu 2012-06-01 11:47, Jaume Ortolà i Font pisze: > Hi, > > When using 'unification', I sometimes find 'out of bounds' errors, and I > think this could be easily prevented. The next rule and > other similar rules seem to work fine with the examples. But when I test > it with the Wikipedia corpus, 'out of bounds' exceptions appear in some > places. I copy here the rule, the phrase that caused error, the error > message, the Java code lines and the proposed solution that works for me.
The solution seems sensible. I will commit it. > My next step will be to test what happens using unification with > sequences of more than two tokens. > Yes, this code needs another pair of eyes to look at. It was not tested as thoroughly as it should... Probably we need much more JUnit tests for it. Regards, Marcin ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Languagetool-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
