public class GenusWordConditionalProb
extends java.lang.Object
Constructor | Description |
---|---|
GenusWordConditionalProb(int index,
float prob) |
Creates a new instance of GenusWordConditionalProb
For a word indexed in wordConditionalProbIndexArr, it holds the index of the genus node,
and the conditional probability that genus node contains the word.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getGenusIndex() |
Returns the index of the genus node
|
float |
getProbability() |
Returns the conditional probability that the genus node contains the word.
|
public GenusWordConditionalProb(int index, float prob)