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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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
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