RiTa
index
Name getProbabilities()
Class RiTravesty
Description Returns the full set of possible next tokens (as a HashMap: String -> Float (probability)) given an array of tokens representing the path down the tree (with length less than n). If the input array length is not less than n, or the path cannot be found, or the endnode has no children, null is returned.

As the returned Map represents the full set of possible next tokens, the sum of its probabilities will alwyas equal 1.

Syntax
getProbabilities(path);
Returns java.util.Map
Usage Web & Application
Related