Re: Problem loading ispell affix file with apostrophes
От | Teodor Sigaev |
---|---|
Тема | Re: Problem loading ispell affix file with apostrophes |
Дата | |
Msg-id | 4886278B.7040801@sigaev.ru обсуждение исходный текст |
Ответ на | Re: Problem loading ispell affix file with apostrophes (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-bugs |
>> ------------------------------------------------------------------------ >> flag *D: # dÊ: dÊfaire, dÊgrossir >> . > dÊ > >> flag *N: # Êlision d'une nÊgation >> [aÁ×eÉÊËiÏoÆuh] > n' # je n'aime pas, il n'y a pas >> ------------------------------------------------------------------------ > >> Maybe apostrophes in ispell affix files are simply not supported? > > Looking at the code, apostrophe seems to be allowed as the first > character of the REPL field, but not anywhere else (in particular, > not after transitioning into PAE_INREPL state). Dunno if this is > a bug or intentional. Yeah, because original ispell tries to lexize words like "book's", but apostrophe is a word-break character from our text parser. So, I just added this special case to parser. But it seems to me we should allow apostrophe as word character in replace field, may be in find field too. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/
В списке pgsql-bugs по дате отправления: