On 12/8/10 5:34 AM, Miao Chen wrote:
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.
I tried to reproduce your problem, but the code seems to work. In this case the sentence detector gives you an array with two elements back, right ? The second probability
is just "1.0". Can you confirm that? If not, which version did you try? Thanks, Jörn
