For example, when String A has a total of 10 words and String B has total of 100 words, all words in String A are found in String B the result would be a 100% match. If half are found, it is a 50% match. What algorithm produces results like this?
-
2Please be specific. The programming language, what you've tried so far......Program-Me-Rev– Program-Me-Rev2015-12-08 19:30:20 +00:00Commented Dec 8, 2015 at 19:30
-
I am doing a string matching project in php where i have to use such an algorithm to perform this task.Aammad Ullah– Aammad Ullah2015-12-08 19:36:09 +00:00Commented Dec 8, 2015 at 19:36
-
Try starting with these two: 1 - Test if a string contains a word in PHP 2 - Check if a string contain multiple specific wordsProgram-Me-Rev– Program-Me-Rev2015-12-08 19:43:39 +00:00Commented Dec 8, 2015 at 19:43
Add a comment
|