Interface INameContextGenerator

Namespace
NOpenNLP.Tools.Namefind
Assembly
NOpenNLP.Tools.dll

Interface for generating the context for an name finder by specifying a set of geature generators.

public interface INameContextGenerator : IBeamSearchContextGenerator<string>
Inherited Members

Methods

AddFeatureGenerator(IAdaptiveFeatureGenerator)

Adds a feature generator to this set of feature generators.

void AddFeatureGenerator(IAdaptiveFeatureGenerator generator)

Parameters

generator IAdaptiveFeatureGenerator

The feature generator to add.

ClearAdaptiveData()

Informs all the feature generators for a name finder that the context of the adaptive data (typically a document) is no longer valid.

void ClearAdaptiveData()

UpdateAdaptiveData(string[], string[])

Informs all the feature generators for a name finder that the specified tokens have been classified with the coorisponds set of specified outcomes.

void UpdateAdaptiveData(string[] tokens, string[] outcomes)

Parameters

tokens string[]

The tokens of the sentence or other text unit which has been processed.

outcomes string[]

The outcomes associated with the specified tokens.