*
* @param dictDir The dict directory under the wordnet dir
*/
public AnswerTypeContextGenerator(File dictDir) {
try {
wordnet = new JWNLDictionary(dictDir.getAbsolutePath());
}
catch (IOException e) {
throw new RuntimeException("Unable to initalize",e);
}
catch (JWNLException e) {