Search Postgresql Archives

Re: tsearch to spellcheck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
                                                   WWW: http://www.sigaev.ru/


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux