Is there a good way to check for similarity between two words?

Viewed 26

I am looking for a something that can return a boolean is two word are similar. For example, it would return true if bike and motorcycle are compared. Likewise bus and buses. I looked into spacy but it's percent and I'd have no idea how to properly threshold it. Also some extra context, what I plan on doing is using detectron2 and NLP to automate the I am not a robot thing. However, detectron2 gives bus as a class and the robot thing gives buses- same for bikes and motorcycles

1 Answers

I think that using a threshold is the proper way to do it. You could determine the best threshold by testing different values and keeping the one that has the best balance between precision and recall.

Related