On Wed, 28 Oct 2009, Marvin Humphrey wrote:
On Wed, Oct 28, 2009 at 12:20:55PM -0700, Andi Vajda wrote:
There may be an API in the Snowball library to do this enumeration.
There's this, from libstemmer.h:
/** Returns an array of the names of the available stemming algorithms.
* Not
On Wed, Oct 28, 2009 at 12:20:55PM -0700, Andi Vajda wrote:
> There may be an API in the Snowball library to do this enumeration.
There's this, from libstemmer.h:
/** Returns an array of the names of the available stemming algorithms.
* Note that these are the canonical names - aliase
On Oct 28, 2009, at 12:09, Bill Janssen wrote:
Andi Vajda wrote:
The snowball JAR comes from this statement in the Makefile:
SNOWBALL_JAR=$(LUCENE)/build/contrib/snowball/lucene-snowball-$
(LUCENE_VER).jar
Which means that it's whatever corresponds to the Lucene version
checked out. For
Sorry, my mistake. Should be:
for n,v in lucene.__dict__.items():
if n.endswith("Stemmer") and issubclass(v, lucene.SnowballProgram):
print n[:-len("Stemmer")]
That produces the list.
Bill
Andi Vajda wrote:
> The snowball JAR comes from this statement in the Makefile:
> SNOWBALL_JAR=$(LUCENE)/build/contrib/snowball/lucene-snowball-$(LUCENE_VER).jar
>
> Which means that it's whatever corresponds to the Lucene version
> checked out. For PyLucene 2.9.0, that is:
>http://svn.apach
On Wed, 28 Oct 2009, Bill Janssen wrote:
Is there a programmatic way to figure out whether the Snowball stemmer
for a particular language X is supported in a particular installation of
PyLucene?
The snowball JAR comes from this statement in the Makefile:
SNOWBALL_JAR=$(LUCENE)/build/contrib/s
Is there a programmatic way to figure out whether the Snowball stemmer
for a particular language X is supported in a particular installation of
PyLucene?
Bill