Upravit

Sdílet prostřednictvím


NLTokenizer.EnumerateTokens Method

Definition

Enumerates tokens for the specified range in the text.

[Foundation.Export("enumerateTokensInRange:usingBlock:")]
public virtual void EnumerateTokens (Foundation.NSRange range, NaturalLanguage.NLTokenizerEnumerateContinuationHandler handler);
abstract member EnumerateTokens : Foundation.NSRange * NaturalLanguage.NLTokenizerEnumerateContinuationHandler -> unit
override this.EnumerateTokens : Foundation.NSRange * NaturalLanguage.NLTokenizerEnumerateContinuationHandler -> unit

Parameters

range
NSRange

The lexical range over which to get tokens.

handler
NLTokenizerEnumerateContinuationHandler

A handler to run on each token.

Attributes

Applies to