@Ignore("TODO for some reason the leskComparator gloss is from the disambiguation page - need to discover why")
public void comparisonWithJwplImplementationTest()
throws LexicalSemanticResourceException, WikiException, SimilarityException
{
wikiResource.setIsCaseSensitive(true);
LexSemResourceComparator glossOverlapComparator = new GlossOverlapComparator(wikiResource, false);
String term1 = "Automobile";
String term2 = "Truck";
Set<Entity> entitiesAuto = wikiResource.getEntity(term1);
Set<Entity> entitiesTruck = wikiResource.getEntity(term2);
LeskComparator leskComparator = new LeskFirstComparator(wiki);
leskComparator.setUseCache(false);
assertEquals(glossOverlapComparator.getSimilarity(entitiesAuto, entitiesTruck), leskComparator.getSimilarity(term1, term2), epsilon);
wikiResource.setIsCaseSensitive(false);
}