Instance Method

gazetteersForTagScheme:

Retrieves the gazetteers attached to a tag scheme.

Declaration

- (NSArray<NLGazetteer *> *)gazetteersForTagScheme:(NLTagScheme)tagScheme;

Parameters

tagScheme

The tag scheme for the gazetteers.

Return Value

An array of NLGazetteer.

See Also

Using Gazetteers with a Tagger

- setGazetteers:forTagScheme:

Attaches gazetteers to a tag scheme, typically one gazetteer per language or one language-independent gazetteer.

NLGazetteer

A collection of terms and their labels, which take precedence over a word tagger.