You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Ernesto De Santis <er...@colaborativa.net> on 2005/03/16 23:44:59 UTC

snowball analyzer uismo issue in spanish stemmer

Hi

I found a problem with the SpanishStemmer in SnowballAnalyzer.

The words finished in "ismo" are striped fine, but words finished in 
"guismo" not.

in Spanish:

"america" and "americanismo" are fine
"argentina" and "argentinismo" are fine

"amigo" is fine but "amigismo" not is fine
the right word is "amiguismo".

this happen every times when the 'g' letter.

I don't know if it is possible to fix or it produces an ambiguity.

Ernesto.







-- 
Ernesto De Santis - Colaborativa.net
Córdoba 1147 Piso 6 Oficinas 3 y 4
(S2000AWO) Rosario, SF, Argentina.



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: snowball analyzer uismo issue in spanish stemmer

Posted by Doug Cutting <cu...@apache.org>.
Erik Hatcher wrote:
> If you see regeneration differences would you please commit them?

There were no differences.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: snowball analyzer uismo issue in spanish stemmer

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Mar 17, 2005, at 2:12 PM, Doug Cutting wrote:

> Erik Hatcher wrote:
>> I just tried regenerating, which automatically pulls from CVS, and 
>> got  this error:
>> /Users/erik/dev/lucene/java/contrib/snowball/snowball/website/p/ 
>> generator.c:425: internal compiler error: in extract_insn, at  
>> recog.c:2175
>>     [apply] Please submit a full bug report,
>>     [apply] with preprocessed source if appropriate.
>>     [apply] See <URL:http://developer.apple.com/bugreporter> for  
>> instructions.
>> BUILD FAILED
>> /Users/erik/dev/lucene/java/contrib/snowball/build.xml:40: apply  
>> returned: 1
>> I haven't tried this in a long time - anyone know what the issue is?
>
> Works for me today on Linux.  And it looks like you were eventually 
> able to run it yesterday, since there's new code checked in.  But I 
> didn't see a commit message.  Why would that be?

I got the commit message.

I'm not sure if my regeneration worked fully, but it all compiled fine 
and the (1?) test ran successfully.

If you see regeneration differences would you please commit them?

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: snowball analyzer uismo issue in spanish stemmer

Posted by Doug Cutting <cu...@apache.org>.
Erik Hatcher wrote:
> I just tried regenerating, which automatically pulls from CVS, and got  
> this error:
> 
> /Users/erik/dev/lucene/java/contrib/snowball/snowball/website/p/ 
> generator.c:425: internal compiler error: in extract_insn, at  recog.c:2175
>     [apply] Please submit a full bug report,
>     [apply] with preprocessed source if appropriate.
>     [apply] See <URL:http://developer.apple.com/bugreporter> for  
> instructions.
> 
> BUILD FAILED
> /Users/erik/dev/lucene/java/contrib/snowball/build.xml:40: apply  
> returned: 1
> 
> I haven't tried this in a long time - anyone know what the issue is?

Works for me today on Linux.  And it looks like you were eventually able 
to run it yesterday, since there's new code checked in.  But I didn't 
see a commit message.  Why would that be?

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: snowball analyzer uismo issue in spanish stemmer

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
The Snowball stemmers are generated from the definitions pulled  
automatically from the Snowball projects CVS server.

I just tried regenerating, which automatically pulls from CVS, and got  
this error:

compile-compiler:
     [apply]  
/Users/erik/dev/lucene/java/contrib/snowball/snowball/website/p/ 
generator.c: In function `generate_backwards':
     [apply]  
/Users/erik/dev/lucene/java/contrib/snowball/snowball/website/p/ 
generator.c:425: error: unrecognizable insn:
     [apply] (insn 32 29 33 0 0x0 (??? bad code 4155
     [apply] ) -1 (nil)
     [apply]     (nil))
     [apply]  
/Users/erik/dev/lucene/java/contrib/snowball/snowball/website/p/ 
generator.c:425: internal compiler error: in extract_insn, at  
recog.c:2175
     [apply] Please submit a full bug report,
     [apply] with preprocessed source if appropriate.
     [apply] See <URL:http://developer.apple.com/bugreporter> for  
instructions.

BUILD FAILED
/Users/erik/dev/lucene/java/contrib/snowball/build.xml:40: apply  
returned: 1

I haven't tried this in a long time - anyone know what the issue is?

	Erik


On Mar 16, 2005, at 5:44 PM, Ernesto De Santis wrote:

> Hi
>
> I found a problem with the SpanishStemmer in SnowballAnalyzer.
>
> The words finished in "ismo" are striped fine, but words finished in  
> "guismo" not.
>
> in Spanish:
>
> "america" and "americanismo" are fine
> "argentina" and "argentinismo" are fine
>
> "amigo" is fine but "amigismo" not is fine
> the right word is "amiguismo".
>
> this happen every times when the 'g' letter.
>
> I don't know if it is possible to fix or it produces an ambiguity.
>
> Ernesto.
>
>
>
>
>
>
>
> -- 
> Ernesto De Santis - Colaborativa.net
> Córdoba 1147 Piso 6 Oficinas 3 y 4
> (S2000AWO) Rosario, SF, Argentina.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org