0

Is there any library in php using which I can match words like "expression" and "expresion" with some levels of confidence?

In short given a user entered word I want to match it with the 1000 words I've in the list and find the closest match with an indication of how close it is.

user774250
  • 161
  • 2
  • 14

1 Answers1

2

Have you tried the similar_text() function?

http://php.net/manual/en/function.similar-text.php

davidethell
  • 11,708
  • 6
  • 43
  • 63