Reputation: 399
I just created a training model for stanfordCoreNLP, so I have a bunch of files that look like this:
Now, how do I tell CoreNLP to use the model I created and not the models that come with coreNLP? Is it something I pass in the command line or something in my java code like:
props.put("sentiment.model");
I noticed there's a jar file in my coreNLP library called stanford-corenlp-3.5.1-models.jar. Does this jar file have anything to do with what I want to do?
Thank you
Upvotes: 0
Views: 711
Reputation: 8739
in Java:
props.put("sentiment.model", "path/to/model");
on command line:
-sentiment.model path/to/model
Upvotes: 1