Section navigation

Public struct EdgeNGramTokeniser.Enumerator

Namespace
Rowles.LeanCorpus.Analysis.Tokenisers
Assembly
Rowles.LeanCorpus.dll

Stack-only edge n-gram enumerator. Each call to MoveNext() advances to the next edge n-gram. Current exposes the yielded token.

public ref struct EdgeNGramTokeniser.Enumerator

Public property Current

Gets the current token.

Public method GetEnumerator()

Returns this for foreach support.

Public method MoveNext()

Advances to the next edge n-gram token.