Re: Test for Snowball Stemmer?

2014-05-14 Thread Jörn Kottmann
On 05/13/2014 05:36 PM, Ajay Bhat wrote: I've found test data for snowball stemmers from the Xapian project https://github.com/xapian/xapian/tree/master/xapian-data/stemming However its licensed under the GPL which could cause conflict with the Apache license which we use, AFAIK Yes, that will

Re: Test for Snowball Stemmer?

2014-05-14 Thread Rodrigo Agerri
Hi, For what is worth, I also think that implementing tests for every stemmer is not needed. But a smoke test will be great. Cheers, Rodrigo On Fri, May 2, 2014 at 5:03 PM, Ajay Bhat wrote: > Hi, > > Is there any test for the Snowball Stemmer in the Opennlp? I have seen only > the Porter Stemm

Exception in the Span.trim() method

2014-05-14 Thread David Landa
Hello, please correct me if I am wrong... I think there should be exception in the trim() method in the Span class as in the getCoveredText() method. if (getEnd > text.length()) {     throw new IllegalArgumentException("..."); } -- David Landa V. P. Čkalova 798/24 160 00 Praha 6 Dejvice, Č

Re: TokenNameFinder and Span probs

2014-05-14 Thread Rodrigo Agerri
+1 to the second solution too, and to use this solution everywhere where a Span object is returned. Rodrigo On 2014/05/07 at 09:22, Joern Kottmann wrote: > Hello Mark, > > +1 for your second solution. I believe that is much more intuitive than > calling a method afterwards to retrieve the prob