As part of a computing project I need to write a java program to find hypernyms and synonyms (for keyword category matching) of a given word. I have downloaded the JWNL library and it is added to my classpath.

However I am having trouble calling JWNL.initialise(). I call it and specify the file_properties.xml as the input stream. However I always get an error message to do with an xml parser or something. My teacher tried and also got an error albeit a slightly different one.

Could anyone help me with this particlar problem or indeed the program mentioned about?