CVS. It fix english stemmer's problem with ending words like
'technology'.
We have found one more bug in english stemmer. The bug is with
'irregular' english words like 'skies' -> 'sky'. Please, apply attached
cumulative patch to 7.2.1 and current CVS instead previous one.
Thank to Thomas T. Thai <tom@minnesota.com> for hard testing. This kind
of bug has significance only for dump/reload database and viewing, but
searching/indexing works right.
Teodor Sigaev
case 'g':
if (ends(z, "logi", 4))
{ z->j++; /*-NEW-*/ /*(Barry Wilkins)*/
- r(z, "og", 3); break;
+ r(z, "og", 2); break;
} /*-DEPARTURE-*/
/* To match the published algorithm, delete this line */
{ const char * t = search_pool(z->irregulars, z->k + 1, z->p);
- if (t != 0) return t;
+ if (t != 0) {
+ z->k = strlen(t) - 1;
+ return t;
+ }
}
if (z->k > 1) /*-DEPARTURE-*/