Interface IDocumentNameFinder

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

Name finding interface which processes an entire document allowing the name finder to use context from the entire document.

EXPERIMENTAL. This interface has been added as part of a work in progress and might change without notice.

[Experimental("NONLPEXP0001")]
public interface IDocumentNameFinder

Methods

Find(string[][])

Returns tokens span for the specified document of sentences and their tokens. Span start and end indices are relative to the sentence they are in. For example, a span identifying a name consisting of the first and second word of the second sentence would be 0..2 and be referenced as spans[1][0].

Span[][] Find(string[][] document)

Parameters

document string[][]

An array of tokens for each sentence of a document.

Returns

Span[][]

The token spans for each sentence of the specified document.