[Snowball-discuss] Re: Possible Error in English Stemmer Implementation

From: Martin Porter (martin.porter@grapeshot.co.uk)
Date: Mon Jan 29 2007 - 09:42:47 GMT


Jake,

Very well spotted! I've put the correction in place, and posted your
finding to snowball-discuss.

Thanks

Martin

> I writing to say I think I found an error in your implementation of
> English_Stemmer (aka Porter2), when dealing with the exception for the
> 'atlas'.
>
> file: english_c.txt
>
> case 'a':
> if (equals(z, "\04" "atlas")) return TRUE; <<< line 380: 04
> should be 05?
> if (equals(z, "\05" "andes")) return TRUE;
> return FALSE;
>



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:48 BST