NLTagger.GetTags 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.
Overloads
GetTags(NSRange, NLTokenUnit, NSString, NLTaggerOptions, NSValue[]) |
Returns the tags and ranges for a string range and unit. |
GetTags(NSRange, NLTokenUnit, NLTagScheme, NLTaggerOptions, NSValue[]) |
GetTags(NSRange, NLTokenUnit, NSString, NLTaggerOptions, NSValue[])
Returns the tags and ranges for a string range and unit.
[Foundation.Export("tagsInRange:unit:scheme:options:tokenRanges:")]
public virtual Foundation.NSString[] GetTags (Foundation.NSRange range, NaturalLanguage.NLTokenUnit unit, Foundation.NSString scheme, NaturalLanguage.NLTaggerOptions options, out Foundation.NSValue[] tokenRanges);
abstract member GetTags : Foundation.NSRange * NaturalLanguage.NLTokenUnit * Foundation.NSString * NaturalLanguage.NLTaggerOptions * -> Foundation.NSString[]
override this.GetTags : Foundation.NSRange * NaturalLanguage.NLTokenUnit * Foundation.NSString * NaturalLanguage.NLTaggerOptions * -> Foundation.NSString[]
Parameters
- range
- NSRange
The index range of the characters from which to get tags.
- unit
- NLTokenUnit
The token unit for the tags to retrieve.
- scheme
- NSString
The tag scheme for the tags to retrieve.
- options
- NLTaggerOptions
Options that control preprocessing done to tags.
- tokenRanges
- NSValue[]
Location to store the ranges of the tokens for the returned tags.
Returns
The tags and ranges for the string range and unit.
- Attributes
Applies to
GetTags(NSRange, NLTokenUnit, NLTagScheme, NLTaggerOptions, NSValue[])
public Foundation.NSString[] GetTags (Foundation.NSRange range, NaturalLanguage.NLTokenUnit unit, NaturalLanguage.NLTagScheme scheme, NaturalLanguage.NLTaggerOptions options, out Foundation.NSValue[] tokenRanges);
member this.GetTags : Foundation.NSRange * NaturalLanguage.NLTokenUnit * NaturalLanguage.NLTagScheme * NaturalLanguage.NLTaggerOptions * -> Foundation.NSString[]
Parameters
- range
- NSRange
- unit
- NLTokenUnit
- scheme
- NLTagScheme
- options
- NLTaggerOptions
- tokenRanges
- NSValue[]