I am working on the jwnl13 java API. I am not able access the derived forms. For example derived forms of the word writer are write, authorial, authorship, author etc.. It
giving null pointer exception when I do the following:
I am trying to find relationship between the words writer and write. Following below is the call I am making in the code,
RelationshipList list = RelationshipFinder.getInstance
I think I am doing it right and I think that the older version do not have this method implemented.
I was wondering whether this version jwnl13 had methods implemented for accessing derived forms. If not, can you please send me the latest code.
Thank you in advance. I appreciate for your time and consideration.
Hi ..have u got ne soln to the topic??
PointerTargetNodeList derivedForm = PointerUtils.getInstance().getDerived(word.getSense(1));
System.out.println("Derived forms of \"" + word.getLemma() + "\":"+derivedForm.size());
or even if i try to do this :
RelationshipList list = RelationshipFinder.getInstance().findRelationships(INVENT.getSense(1), INVENTOR.getSense(1), PointerType.DERIVED);
i m getting list size=0;
neone can help?
Hi, I have the same problem with the derivationally related forms, I am using the last version. Has anybody solve the problem?
Log in to post a comment.