Interface IFeatureGenerator

Namespace
NOpenNLP.Tools.Doccat
Assembly
NOpenNLP.Tools.dll

Interface for generating features for document categorization.

public interface IFeatureGenerator

Methods

ExtractFeatures(string[], IDictionary<string, object>)

Extract features from given text fragments

ICollection<string> ExtractFeatures(string[] text, IDictionary<string, object> extraInformation)

Parameters

text string[]

the text fragments to extract features from

extraInformation IDictionary<string, object>

optional extra information to be used by the feature generator

Returns

ICollection<string>

a collection of features