From: | Tim Clarke <tim(dot)clarke(at)minerva(dot)info> |
---|---|
To: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Is it possible to compare a long text string and fuzzy match only phrases contained in? |
Date: | 2021-01-18 11:03:17 |
Message-ID: | 53832cb5-9f05-3a5c-3e00-f9e100dc9e7b@minerva.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com<mailto:shishaozhong(at)gmail(dot)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(at)minerva(dot)info<mailto:admin(at)minerva(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter J. Holzer | 2021-01-18 11:36:21 | Re: System (and DB) upgrade problem., "part 2" |
Previous Message | Tatsuo Ishii | 2021-01-18 08:17:05 | Re: Code of Conduct plan,Re: Code of Conduct plan |