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? 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 Link to comment https://forums.phpfreaks.com/topic/87489-similar-text/#findComment-447588 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.