Edit

Share via


NLTagger.GetTags Method

Definition

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
scheme
NLTagScheme
options
NLTaggerOptions
tokenRanges
NSValue[]

Returns

Applies to