Menu

any one want to write a document for using it

2001-11-25
2001-11-27
  • Hsiang-yu Yuan

    Hsiang-yu Yuan - 2001-11-25

    i think it really need a document..
    i want to try it..
    but i still can't run it..
    it turns out some message when i run exe file..
    D:\openNLP>java -jar opennlp-exe-0.6.2.jar
    Usage: java opennlp.common.xml.SchemaBasedValidator 'schema-file' 'file-to-valid
    ate'

    any one know how to let it run with some simple sentences??

     
    • Jason Baldridge

      Jason Baldridge - 2001-11-26

      Well, the OpenNLP Common API is not meant to be "used".  It is a reference API for others to build NLP applications, for example see Grok at http://grok.sf.net.

      On the other hand, OpenNLP does include a little application that calls the Xerces XML parser so that it validates an xml file with respect to a particular schema, and that is what you are seeing when you run the executable jar.  I've now changed it in the CVS so that the next executable we create of OpenNLP just prints a message that there is nothing to execute.  I added the executable since I wanted to be able to distribute a standalone jar file that didn't require people to download the other jar dependencies, and I thought one day it might indeed have some more interesting executable functionality.

      What is it you are hoping to do?

       
    • Hsiang-yu Yuan

      Hsiang-yu Yuan - 2001-11-27

      thank your response
      I'll use in an medical aplication for
      understanding doctors descriptions wrote with
      medical language..
      one years ago, I wrote an little program
      that can extract clinical information from
      clinical diagnosis in c++..
      But now I think using java will have more
      benifit..

       

Log in to post a comment.