Got a problem with relationshipfinder, anyone can help?
try to find Hypernym relationship between synsets of
when there is no relationship, the program gave me
null pointer exception. my code is as the following:
RelationshipFinder finder = RelationshipFinder.getInstance
RelationshipList list = finder.findRelationships
synsetSource and synsetTarget are type of Synset
I'v tested all arguments in findRelationship are not null.
So when there is no relationships between two synset,
what wil be returned by the method findRelationship?
Thanks for any respons.