Class CheckContextGenerator

Namespace
NOpenNLP.Tools.Parser.Treeinsert
Assembly
NOpenNLP.Tools.dll
public class CheckContextGenerator : AbstractContextGenerator
Inheritance
CheckContextGenerator
Inherited Members

Constructors

CheckContextGenerator(ISet<string>)

public CheckContextGenerator(ISet<string> punctSet)

Parameters

punctSet ISet<string>

Methods

GetContext(Parse, Parse[], int, bool)

public virtual string[] GetContext(Parse parent, Parse[] constituents, int index, bool trimFrontier)

Parameters

parent Parse
constituents Parse[]
index int
trimFrontier bool

Returns

string[]