NlpTools API
Namespace

NlpTools\Models

FeatureBasedNB Implement a MultinomialNBModel by training on a TrainingSet with a FeatureFactoryInterface and additive smoothing.
Lda Topic discovery with latent dirchlet allocation using gibbs sampling.
LinearModel This class represents a linear model of the following form f(x_vec) = l1*x1 + l2*x2 + l3*x3 ...
Maxent Maxent is a model that assigns a weight for each feature such that all the weights maximize the Conditional Log Likelihood of the training data.

Interfaces

MultinomialNBModelInterface Interface that describes a NB model.