Re: Is it possible to compare a long text string and fuzzy match only phrases contained in?

Поиск
Список
Период
Сортировка
От Tim Clarke
Тема Re: Is it possible to compare a long text string and fuzzy match only phrases contained in?
Дата
Msg-id 53832cb5-9f05-3a5c-3e00-f9e100dc9e7b@minerva.info
обсуждение исходный текст
Ответ на Re: Is it possible to compare a long text string and fuzzy match only phrases contained in?  (Benedict Holland <benedict.m.holland@gmail.com>)
Список pgsql-general

On 17/01/2021 23:09, Benedict Holland wrote:
You want to do NLP in postgres? I would say that you would need a tool like opennlp to get your tokens and phases, then run a fuzzy matching algorithm. 

Unless postgres has nlp capabilities but I am not sure I would use them. You actually want something fairly complex. 

Thanks,
Ben

On Sun, Jan 17, 2021, 4:55 PM Shaozhong SHI <shishaozhong@gmail.com> wrote:
We are looking for working examples of comparing a long text string and fuzzy-matching multiple words (namely, phrases) contained in.

Any such work examples?

Regards,

David


We've had excellent results with

https://www.postgresql.org/docs/13/fuzzystrmatch.html

and you may find

https://www.postgresql.org/docs/13/unaccent.html

very useful in this area too

Tim Clarke MBCS
IT Director
Direct: +44 (0)1376 504510 | Mobile: +44 (0)7887 563420

 

Telephone: Witham: +44(0)1376 503500 | London: +44 (0)20 3009 0853 | Frankfurt: +49 (0)69 7191 6000 | Hong Kong: +852 5803 1687 | Toronto: +1 647 503 2848
Web: https://www.manifest.co.uk/

 

Minerva Analytics Ltd - A Solactive Company
9 Freebournes Court | Newland Street | Witham | Essex | CM8 2BL | United Kingdom


Copyright: This e-mail may contain confidential or legally privileged information. If you are not the named addressee you must not use or disclose such information, instead please report it to admin@minerva.info
Legal: Minerva Analytics is the trading name of: Minerva Analytics Ltd: Registered in England Number 11260966 & The Manifest Voting Agency Ltd: Registered in England Number 2920820 Registered Office at above address. Please Click Here https://www.manifest.co.uk/legal/ for further information.

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

Предыдущее
От: "W.P."
Дата:
Сообщение: Re: System (and DB) upgrade problem., "part 2"
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: System (and DB) upgrade problem., "part 2"