Use similarity functions in WordnetAnalyzer.