Skip to content

Commit

Permalink
update NER module not found error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lfcnassif committed Oct 27, 2023
1 parent 09a8a1e commit fe32d98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void init(ConfigurationManager configurationManager) throws Exception {
Class.forName("edu.stanford.nlp.ie.crf.CRFClassifier"); //$NON-NLS-1$

} catch (ClassNotFoundException e) {
LOGGER.error("StanfordCoreNLP not found. Did you put the jar in the optional lib folder?");
LOGGER.error("StanfordCoreNLP not found. Did you put the jar in 'plugins' folder?");
nerConfig.setEnabled(false);
return;
}
Expand All @@ -86,7 +86,7 @@ public void init(ConfigurationManager configurationManager) throws Exception {

URL modelResource = this.getClass().getResource("/" + modelPath); //$NON-NLS-1$
if (modelResource == null) {
LOGGER.error(modelPath + " not found. Did you put the model in the optional lib folder?");
LOGGER.error(modelPath + " not found. Did you put the model in 'plugins' folder?");
nerConfig.setEnabled(false);
return;
}
Expand Down

0 comments on commit fe32d98

Please sign in to comment.