Netbeans and Opennlp

Help
Mena Habib
2010-06-18
2013-04-16
  • Mena Habib
    Mena Habib
    2010-06-18

    Dear All,
    I have a problem using Opennlp libraries with Netbeans.
    I was able use ANT to generate the output/opennlp-tools-1.4.3.jar file.
    The problem is that i get the error "Package opennlp.tools.lang does not exist".
    Of course i have added the  opennlp-tools-1.4.3.jar to the list of libraries of the project.
    The strange thing is that the auto-complete facility is completing my typing when i write "import opennlp.tools….."
    Also I have the import "import opennlp.maxent.*" but didn't give the same error !!!!!!!
    Can anyone give me any hints.
    note: my JDK version is 1.6

    Thanks

    Mena

    Mena B. Habib
    PhD Student

    University of Twente
    Faculty of Electrical Engineering, Mathematics and Computer Science.
    Database Chair
    7500AE Enschede, Netherlands

    mail: m.b.habib@ewi.utwente.nl
    Phone: +31 53 489 4549
    Fax: +31 53 489 2927
    Mobile: +31 68 183 2680

     
  • Joern Kottmann
    Joern Kottmann
    2010-06-23

    Sorry I am not a netbeans user, but maybe the issue is that the package opennlp.tools.lang does not contain any classes, and importing it wouldn't make sense.

    Hope this helps,
    Jörn

     
  • AYARI
    AYARI
    2011-01-04

    I have same problem, can you give me an exemple please how to use openNlp with Netbeans for anaphora resolution.

    Best regards
    Naouel.

     
  • Joern Kottmann
    Joern Kottmann
    2011-05-18

    Hi, the project moved to Apache, please repost your question on the user mailing list,
    see our new website for details about how to subscribe to the mailing list:
    incubator.apache.org/opennlp

    Thanks,
    Jörn