Create judge_function in WordNetAnalyzer.