POSModel model1 = new POSModelLoader().load(new File("en-pos-maxent.zip"));
Here the POSModelLoader() gives the path of the web-server such as:
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\bin\
So I had to put this file in the /bin folder of the web-server.
How can I use this loader to retrieve the file from within my application location but not from webserver.
The problem is I'll have to deploy my application in a remote web-server whose bin folder will not have the 'en-pos-maxent.zip' file.
My location where I actually want to keep this zip file is:
How am I suppose to retrieve this above location via POSModelLoader()
The project moved to opennlp.apache.org. Please ask questions there.