POSModelLoader in OpenNLP

Developers
2012-05-16
2013-04-16
  • Subash Basnet

    Subash Basnet - 2012-05-16

    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:
    D:\PROJECTS\NetBeansProjects\FeedManagementSystem\web\WEB-INF\

    How am I suppose to retrieve this above location via POSModelLoader()

     
  • Joern Kottmann

    Joern Kottmann - 2012-05-16

    The project moved to opennlp.apache.org. Please ask questions there.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks