Interface ITokenNameFinder

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

The interface for name finders which provide name tags for a sequence of tokens.

public interface ITokenNameFinder

Methods

ClearAdaptiveData()

Forgets all adaptive data which was collected during previous calls to one of the find methods.

This method is typical called at the end of a document.

void ClearAdaptiveData()

Find(string[])

Generates name tags for the given sequence, typically a sentence, returning token spans for any identified names.

Span[] Find(string[] tokens)

Parameters

tokens string[]

an array of the tokens or words of the sequence, typically a sentence.

Returns

Span[]

an array of spans for each of the names identified.