Type Method

availableTagSchemesForUnit:language:

Returns the tag schemes available for a particular unit and language on the current device.

Declaration

+ (NSArray<NSLinguisticTagScheme> *)availableTagSchemesForUnit:(NSLinguisticTaggerUnit)unit language:(NSString *)language;

Parameters

unit

The linguistic unit. For possible values, see NSLinguisticTaggerUnit.

language

A BCP-47 tag identifying the language. For example, "en" for English or "zh-Hans" for Chinese written using the Simplified Chinese script.

Return Value

The supported tag schemes. For possible values, see NSLinguisticTagScheme.

See Also

Getting the Tag Schemes

+ availableTagSchemesForLanguage:

Returns the tag schemes available for a particular language on the current device.

tagSchemes

Returns the tag schemes configured for this linguistic tagger. For possible values, see NSLinguisticTagScheme.