[Snowball-discuss] latin stemmer -> java
Dirk Rothe
d.rothe at semantics.de
Mon Nov 30 15:39:52 GMT 2009
Hello,
I've tried to build a java-version of the the latin stemmer[1] with:
./snowball latin.sbl -j -n LatinStemmer -o LatinStemmer
But the resulting .java file [attached] seems not to be compilable. I
tried to build the Stemmer within Lucene[2]/pylucene[3], so it's not
exactly an isolated testcase. Sorry for that.
[...]
compile-core:
[javac] Compiling 10 source files to
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\build\contrib\snowball\classes\java
[javac]
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:261:
assign_to(java.lang.StringBuffer) in org.tartarus.snowball.SnowballProgram
cannot be applied to (java.lang.StringBuilder)
[javac] S_noun_form =
assign_to(S_noun_form);
[javac] ^
[...]
I've tried the compilation with another stemmer, the dutch[4] one, and had
no problems. So I think my setup should be sane.
Any hints, what could be wrong with the produced .java file?
thnx,
Dirk Rothe
--------
[1] http://snowball.tartarus.org/otherapps/schinke/intro.html
[2] http://lucene.apache.org/
[3] http://lucene.apache.org/pylucene/
[4] http://snowball.tartarus.org/algorithms/dutch/stemmer.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LatinStemmer.java
Type: application/octet-stream
Size: 21083 bytes
Desc: not available
URL: <http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20091130/7ae1a0c5/attachment-0001.obj>
More information about the Snowball-discuss
mailing list