verdrm Posted January 24, 2008 Share Posted January 24, 2008 Does anyone know how to highlight (similar to Wikipedia's text difference feature) SIMILARITIES in two text objects? Example: Sentence One: I have a boat. Sentence Two: I have a car and a boat. I want to detect and highlight "I have" and "a boat" from both sentences. Does PHP have a similar text syntax? Quote Link to comment https://forums.phpfreaks.com/topic/87489-similar-text/ Share on other sites More sharing options...
ziv Posted January 24, 2008 Share Posted January 24, 2008 http://php.net/metaphone http://php.net/soundex http://php.net/levenshtein http://php.net/similar_text Quote Link to comment https://forums.phpfreaks.com/topic/87489-similar-text/#findComment-447588 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.