Type Method

availableTagSchemesForUnit:language:

Retrieves the tag schemes available for a particular unit (like word or sentence) and language on the current device.

Declaration

+ (NSArray<NLTagScheme> *)availableTagSchemesForUnit:(NLTokenUnit)unit language:(NLLanguage)language;

Parameters

unit

The linguistic unit. For possible values, see NLTokenUnit.

language

The NLLanguage identifying the language.

Return Value

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

See Also

Getting the Tag Schemes

+ requestAssetsForLanguage:tagScheme:completionHandler:

Asks the Natural Language framework to load any missing assets for a tag scheme onto the device for the given language.

NLTaggerAssetsResult

The response to an asset request.

tagSchemes

The tag schemes configured for this linguistic tagger.

NLTagScheme

Constants for the tag schemes specified when initializing a linguistic tagger.