I'm new to AIML. Right now I'm working with a requirement where I need to see if two sentences are similar semantically. I'm searching for an API or Existing NLP service which compares given sentance with another array of sentences and provide us with matching one from passed array of sentances. If there is any proven algo/NLP implementation published now please let me through this folks.
Thanks in advance.
There are many ways to check for sentence-similarity. Sadly, there is not "right way", cuz it depends on the context, data, domain, and your preferences.
For example, You can check textual similarity by
Rouge.Another way is to use
Meteor.A more complex approach for using text similarity based on a Large Language Model. while the LLMs are heavy, they are great at understanding the context of natural language. For example,
If your NLP knowledge is limited, you can use AWS/GCP service for document similarity or
LangChain.