Contents

availableTagSchemes(for:language:)

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

Declaration

class func availableTagSchemes(for unit: NLTokenUnit, language: NLLanguage) -> [NLTagScheme]

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