I'm probably missing something incredibly obvious here...
I'm trying to call MoreLikethis.setStopWords(Set words). I've got a
list of stop words in Python, but I can't figure out how to turn that
into a Java Set. I tried "lucene.HashSet(set(words)",
"lucene.HashSet(lucene.ArrayList(JArray("strin
On Fri, 20 Feb 2009, Jacob Floyd wrote:
Here I am again.
After talking with some of the gentoo devs, they suggested I modify
the setup.py to include gentoo specifics and send it upstream. As it
is, they don't like to have to specify all the lflags, and in fact it
becomes troublesome, because we
> Getting annoyed with having to modify setup.py myself and needing a
> way to build JCC that didn't involve editing the file, I added a long
> time ago the possibility to set all these flags via environment
> variables (as you noticed). I then do the right thing, once, in the
> Makefile driving my
On Sun, 22 Feb 2009, Bill Janssen wrote:
I'm probably missing something incredibly obvious here...
I'm trying to call MoreLikethis.setStopWords(Set words). I've got a
list of stop words in Python, but I can't figure out how to turn that
into a Java Set. I tried "lucene.HashSet(set(words)",
"
On Sun, 22 Feb 2009, Bill Janssen wrote:
I'm probably missing something incredibly obvious here...
I'm trying to call MoreLikethis.setStopWords(Set words). I've got a
list of stop words in Python, but I can't figure out how to turn that
into a Java Set. I tried "lucene.HashSet(set(words)",
"
OK, I added JavaSet to my codebase.
But still no joy -- I can now call
mlt = MoreLikeThis(...)
mlt.setStopWords(JavaSet(set(["foo", "bar", "bletch"])))
terms = mlt.retrieveInterestingTerms(...)
Unfortunately, I still get "foo", "bar", and "bletch" in the terms.
So something is still