Re: tsearch to spellcheck

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: tsearch to spellcheck
Дата
Msg-id 4566E525.6070304@sigaev.ru
обсуждение исходный текст
Ответ на tsearch to spellcheck  ("SunWuKung" <Balazs.Klein@t-online.hu>)
Список pgsql-general
You can use lexize() function from tsearch2 (with properly configured ispell
dictionary) - if it returns not NULL value the word is ok.
Also have a look to pg_trgm contrib modle.

SunWuKung wrote:
> Is it possible to use tsearch2 to check spelling? Something like a
> function that takes a single word (and a language id) and returns true
> if spelled correctly false otherwise.
>
> Thanks.
> Balazs
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faq

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: IN clause
Следующее
От: "William Leite Araújo"
Дата:
Сообщение: Re: How to clone a table so that primay and foreign keys remain