Instance Property

tagSchemes

The tag schemes configured for this linguistic tagger.

Declaration

var tagSchemes: [NLTagScheme] { get }

See Also

Getting the Tag Schemes

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

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

class func requestAssets(for: NLLanguage, tagScheme: NLTagScheme, completionHandler: (NLTagger.AssetsResult, Error?) -> Void)

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

Beta
enum NLTagger.AssetsResult

The response to an asset request.

Beta
struct NLTagScheme

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software