[Snowball-discuss] latin stemmer -> java

Dirk Rothe d.rothe at semantics.de
Tue Dec 1 07:42:34 GMT 2009


On Tue, 01 Dec 2009 00:25:23 +0100, Richard Boulton <richard at tartarus.org>  
wrote:

> 2009/11/30 Dirk Rothe <d.rothe at semantics.de>:
>> Thnx, but I ran into another problem now. In the last distribution[1]  
>> the
>> snowball binary was embedded and I've simply used it. This time it's
>> missing, so I tried to build it by myself with a simple 'make', but that
>> failed with:
>
> Actually, that failure happens after it's created the snowball binary.

Ah, haven't seen that.

> However, I've fixed the problem now, I believe: I'd just forgotten to
> add the libstemmer_c.in file to the distribution tarball.

Thnx, compiling of snowball works now.

I've recreated the .java class, but it's still failing. I'm using "javac  
1.6.0_17" (windows) - the latest SDK from SUN. There are now less error  
messages, so things have improved. Here's the full output:

--------------------------------
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]                                           ^
     [javac]  
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:263:  
assign_to(java.lang.StringBuffer) in org.tartarus.snowball.SnowballProgram  
cannot be applied to (java.lang.StringBuilder)
     [javac]                             S_verb_form =  
assign_to(S_verb_form);
     [javac]                                           ^
     [javac]  
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:305:  
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]                                       ^
     [javac]  
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:307:  
assign_to(java.lang.StringBuffer) in org.tartarus.snowball.SnowballProgram  
cannot be applied to (java.lang.StringBuilder)
     [javac]                         S_verb_form = assign_to(S_verb_form);
     [javac]                                       ^
     [javac]  
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:419:  
cannot find symbol
     [javac] symbol  : method insert(int,int,java.lang.StringBuilder)
     [javac] location: class org.tartarus.snowball.ext.LatinStemmer
     [javac]                         insert(cursor, limit, S_noun_form);
     [javac]                         ^
     [javac]  
D:\pylucene\pylucene-2.9.1-1\lucene-java-2.9.1\contrib\snowball\src\java\org\tartarus\snowball\ext\LatinStemmer.java:431:  
cannot find symbol
     [javac] symbol  : method insert(int,int,java.lang.StringBuilder)
     [javac] location: class org.tartarus.snowball.ext.LatinStemmer
     [javac]                     insert(cursor, cursor, S_verb_form);
     [javac]                     ^
     [javac] 6 errors

--dirk






More information about the Snowball-discuss mailing list