Class Among

Namespace
NOpenNLP.Tools.Stemmer.Snowball
Assembly
NOpenNLP.Tools.dll

Snowball's among construction.

public sealed class Among
Inheritance
Among
Inherited Members

Constructors

Among(string, int, int)

Initializes a new instance of the Among class.

public Among(string str, int index, int result)

Parameters

str string

The search string.

index int

The index to the longest matching substring.

result int

The result of the lookup.

Among(string, int, int, Func<bool>?)

Initializes a new instance of the Among class.

public Among(string str, int index, int result, Func<bool>? action)

Parameters

str string

The search string.

index int

The index to the longest matching substring.

result int

The result of the lookup.

action Func<bool>

The action to be performed, if any.

Properties

Action

Action to be invoked.

public Func<bool>? Action { get; }

Property Value

Func<bool>

MatchIndex

Index to longest matching substring.

public int MatchIndex { get; }

Property Value

int

Result

Result of the lookup.

public int Result { get; }

Property Value

int

SearchString

Search string.

public string SearchString { get; }

Property Value

string

Methods

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.