Is it possible to compare a long text string and fuzzy match only phrases contained in?
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
Import Notes
Reply to msg id not found: CA+i5JwZEVRBs2SoivqEOD1Gb+wPBwenB5-mpuJCAA62CwADALg@mail.gmail.comReference msg id not found: CA+i5JwZEVRBs2SoivqEOD1Gb+wPBwenB5-mpuJCAA62CwADALg@mail.gmail.com
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:
Show quoted text
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
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<mailto: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<mailto: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.