NLTokenizer.EnumerateTokens Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
A handler to run on each token.
- Attributes