|
RiTa index |
|
| Name | getProbabilities() |
| Class | RiMarkov |
| 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. Note: As the returned Map represents the full set of possible next tokens, the sum of its probabilities will always be equal 1. |
| Syntax | getProbabilities(path); |
| Returns | java.util.Map |
| Usage | Web & Application |
| Related | |