code: public double[] getTokenProbabilities() {
      double[] tokProbArray = new double[tokProbs.size()];
      for (int i = 0; i < tokProbArray.length; i++) {
        tokProbArray[i] = ((Double) tokProbs.get(i)).doubleValue();
      }
      return tokProbArray;
    }
docs: Returns the probabilities associated with the most recent
  calls to tokenize() or tokenizePos().
  @return probability for each token returned for the most recent
  call to tokenize.  If not applicable an empty array is
  returned.