Skip to content

Commit

Permalink
model path flaw
Browse files Browse the repository at this point in the history
  • Loading branch information
manalishah committed Apr 23, 2016
1 parent b5fe00e commit cd06762
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -70,7 +70,7 @@ public MITIENERecogniser(String modelPath) {
LOG.warn("{} does not exist", modelPath);
}else {
Class<?> namedEntityExtractorClass = Class.forName(NamedEntityExtractor_Class);
extractorInstance = namedEntityExtractorClass.getDeclaredConstructor(new Class[]{String.class}).newInstance("/Users/manali/cs599_dr/MITIE/MITIE-models/english/ner_model.dat");
extractorInstance = namedEntityExtractorClass.getDeclaredConstructor(new Class[]{String.class}).newInstance(modelPath);
this.available = true;
}
} catch (Exception e) {
Expand Down

0 comments on commit cd06762

Please sign in to comment.