public double[] getSentenceProbabilities() {
    double[] sentProbArray = new double[sentProbs.size()];
    for (int i = 0; i < sentProbArray.length; i++) {
      sentProbArray[i] = ((Double) sentProbs.get(i)).doubleValue();
    }
    return sentProbArray;
  }
public double [ ] getSentenceProbabilities ( ) { double [ ] sentProbArray = new double [ sentProbs . size ( ) ] ; for ( int i = 0 ; i < sentProbArray . length ; i ++ ) { sentProbArray [ i ] = ( ( Double ) sentProbs . get ( i ) ) . doubleValue ( ) ; } return sentProbArray ; }
Returns the probabilities associated with the most recent
calls to sentDetect().
@return probability for each sentence returned for the most recent
call to sentDetect.  If not applicable an empty array is
returned.