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);
}