From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | SunWuKung <Balazs(dot)Klein(at)t-online(dot)hu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: tsearch to spellcheck |
Date: | 2006-11-24 12:27:17 |
Message-ID: | 4566E525.6070304@sigaev.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/
From | Date | Subject | |
---|---|---|---|
Next Message | sasan3 | 2006-11-24 12:43:02 | PGDATA |
Previous Message | Stephen Harris | 2006-11-24 12:20:52 | Re: Shutting down a warm standby database in 8.2beta3 |