You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@chrismattmann - #12 should fix this, I tested it yesterday. Will work on Tika to initialise an instance of AgePredicterLocal with additional parameters. Or do you think searching in classpath for model names is better ?
and keep en-pos-maxent.bin in classpath at same package declaration as SentenceTokenizer which is opennlp.tools.tokenize
Or we can make a fully qualified package exclusively for storing models like opennlp.model and make
Either way we'll have to keep model at a specific path, so I think making it configurable in AgePredicter is probably better. We can find classpath in Tika like we do now. What say?
Don't aways assume there is a model/* root level dir. Load from classpath.
The text was updated successfully, but these errors were encountered: