NGramGeneratorGenerateNGrams Method

NReco.NLQuery Class Library Documentation
Generates n-grams grouped by starting token from the specified tokens list.

Namespace:  NReco.NLQuery
Assembly:  NReco.NLQuery (in NReco.NLQuery.dll) Version: 1.0.0
Syntax

public IEnumerable<Token[]> GenerateNGrams(
	Token[] tokens
)

Parameters

tokens
Type: NReco.NLQueryToken
List of tokens

Return Value

Type: IEnumerableToken
list of phrases grouped by start token index
See Also

Reference