NlpTools API

Interfaces

NlpTools\Classifiers\ClassifierInterface
NlpTools\Clustering\CentroidFactories\CentroidFactoryInterface
NlpTools\Clustering\MergeStrategies\MergeStrategyInterface In hierarchical agglomerative clustering each document starts in its own cluster and then it is subsequently merged with the "closest" cluster.
NlpTools\Documents\DocumentInterface A Document is a representation of a Document to be classified.
NlpTools\FeatureFactories\FeatureFactoryInterface
NlpTools\Models\MultinomialNBModelInterface Interface that describes a NB model.
NlpTools\Optimizers\FeatureBasedLinearOptimizerInterface
NlpTools\Optimizers\MaxentOptimizerInterface Marker interface to use with the Maxent model for type checking
NlpTools\Random\Generators\GeneratorInterface An interface for pseudo-random number generators.
NlpTools\Similarity\DistanceInterface Distance should return a number proportional to how dissimilar the two instances are(with any metric)
NlpTools\Similarity\SimilarityInterface Similarity should return a number that is proportional to how similar those two instances are (with any metric).
NlpTools\Tokenizers\TokenizerInterface
NlpTools\Utils\TransformationInterface TransformationInterface represents any type of transformation to be applied upon documents.