Menu

Sentence detection without training

Help
no way
2009-09-29
2013-04-16
  • no way

    no way - 2009-09-29

    Hello!

    I would like to run SentenceDetector but it does not work as it is written in readme:

    "java opennlp.tools.lang.english.SentenceDetector \
      opennlp.models/english/sentdetect/EnglishSD.bin.gz < text"
    because SentenceDetector is not executable file just an interface.
    SentencedetectorME has a "main" but it is used to train models what I do not intend to do.
    Could someone write me how does it work?

    It seems to me that this is a problem in the other directories, like postagger, parser where only the "ME" files have a main.

    thanks in advance

     
  • Thomas Morton

    Thomas Morton - 2009-10-02

    Hi,
       These commands work for the latest release.  They don't work on trunk.  It sounds like you are not using the files in the "lang" package but instead of the packages for the individual components:

    opennlp.tools.sentdetect != opennlp.tools.lang.english

    Hope this helps…Tom

     

Log in to post a comment.