We need a class that calculates the semantic distance between two words given as parameters.
The class will be called SemanticDistanceMeasurer.
It must have the method:
int getSemanticDistanceBetween(word1, word2);
where word1 and word2 are the words for whom we calculate the semantic distance.
We need a class that calculates the semantic distance between two words given as parameters. The class will be called SemanticDistanceMeasurer. It must have the method: int getSemanticDistanceBetween(word1, word2); where word1 and word2 are the words for whom we calculate the semantic distance.