SentenceDetectorME.getSentenceProbabilities() array is not always equal to
number of returned sentences
---------------------------------------------------------------------------------------------------------
Key: OPENNLP-8
URL: https://issues.apache.org/jira/browse/OPENNLP-8
Project: OpenNLP
Issue Type: Bug
Components: Sentence Detector
Affects Versions: 1.5.0
Reporter: Jörn Kottmann
Miao Chen:
"The sentence detector returns me two sentences: "2.1.4" and "About JAVA
package" (which I can accept :)
But the getSentenceProbabilities() returns me only one probability (which is
0.9924560093213692), and I don't know which "sentence" this probability is
for. This method is supposed to return an array of probabilities, but in
this case only one probability is returned."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.