Namespace NOpenNLP.Tools.Doccat

Package for classifying a document into a category.

Classes

BagOfWordsFeatureGenerator

Generates a feature for each word in a document.

DoccatCrossValidator

Cross validator for document categorization.

DoccatFactory

The factory that provides Doccat default implementations and resources

DoccatModel

A model for document categorization

DocumentCategorizerEvaluator

The DocumentCategorizerEvaluator measures the performance of the given IDocumentCategorizer with the provided reference DocumentSamples.

DocumentCategorizerEventStream

Iterator-like class for modeling document classification events.

DocumentCategorizerME

Maxent implementation of IDocumentCategorizer.

DocumentSample

Class which holds a classified document and its category.

DocumentSampleStream

This class reads in string encoded training samples, parses them and outputs DocumentSample objects.

Format:
Each line contains one sample document.
The category is the first string in the line followed by a tab and whitespace separated document tokens.
Sample line: category-string tab-char whitespace-separated-tokens line-break-char(s)

NGramFeatureGenerator

Generates ngram features for a document. n-gram IFeatureGenerator

Interfaces

IDoccatEvaluationMonitor

IEvaluationMonitor<T> for doccat.

IDocumentCategorizer

Interface for classes which categorize documents.

IFeatureGenerator

Interface for generating features for document categorization.