Creates a document from the given document parameters.
Creates a document from the given document parameters.
The number of terms in the model.
The number of terms in the model.
The number of topics in the model.
The number of topics in the model.
The parameters used to create this model.
The parameters used to create this model.
Assert invariants.
Assert invariants.
How many times each topic is seen overall.
How many times each term is seen in each topic.
Returns the distribution over terms for the given topic.
Returns the distribution over terms for the given topic. The return value of this method is assumed to have already incorporated the corresponding getTermSmoothing to the appropriate extent.
Returns the distribution over terms for the given topic.
Returns the distribution over terms for the given topic. The return value of this method is assumed to have already incorporated the corresponding getTermSmoothing to the appropriate extent.
Where log messages go.
Where log messages go. Defaults to System.err.println.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
Returns the probability of the given term in the given topic.
Registers a function as a checker of invariants.
Registers a function as a checker of invariants.
Resets to the default state.
Resets to the default state.
Gets the current state of this object.
Gets the current state of this object.
Sets the current state of this object.
Sets the current state of this object.
Returns human-readable summary of the current topic model.
The term index describing which terms are in the model.
The term index describing which terms are in the model.
Add-k prior counts for each term (eta in the model formulation).
Add-k prior counts for each term (eta in the model formulation).
Tokenizes the given input string using our stored tokenizer and term index, if available.
Tokenizes the given input string using our stored tokenizer and term index, if available. Otherwise, throws an IllegalArgumentException.
The tokenizer used to break input documents into terms.
The tokenizer used to break input documents into terms.
The term index describing which terms are in the model.
The term index describing which terms are in the model.
Gets the name for this topic.
Gets the name for this topic.
Soft assignments-based model keeps distributions for each word observation. Used, e.g., as the basis of the CVB0 model families.