Problem:
Make code which compare two texts and output the % of similarities between the two texts i.e. if they have same words even if the words are in different order.
More advanced version may take care for synonyms ,
The rules:
You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday September 1st.
On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC
You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.
Aug 30, 2013 @ 23:09:55
As I understand we should output a number that shows how many words from the first text are contained in the second?
Example:
Input:
I love cats and dogs.
I love dogs.
Output:
3 (I, love, dogs)