I'm making a website where you can discuss with another person and where you can control things by typing certain phrases. You can say "I like apples" to do a specific action. I managed to have a jquery script to detect "apples" in the sentence "I like apples" but I understood that there are a lot of ways to say that you like apples. "I used to love bananas but now I prefer apples" "I love apples, what about you?"

So I'm starting to think that I'll need something else to fully get every way of telling something. My question is then, do we have some javascript libraries that could simplify this process (either an AI that can understand, or anything else that could be great to do that...) ? I've heard about RiTa for text and litterature but it's not exactly what I'm looking for there.

Thanks for the help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.