Search code examples
javastanford-nlp

CoreNlp splitting the stanford-corenlp-3.2.0-models.jar


I'm trying to deploy stanford-corenlp-3.2.0-models.jar but my host says the jar is to big?

If I'm just want to use the POS, what jar, can I use instead.

Or how can I split the jar?


Solution

  • You just need to read up on how to use the jar command. A jar file is just a variant on a zip file. You can expand its contents with jar -xf stanford-corenlp-3.2.0-models.jar, get what you need, and then put it into a new smaller jar file.