Instance Method

setLanguage:range:

Sets the language for a range of text within the tagger's string.

Declaration

- (void)setLanguage:(NLLanguage)language range:(NSRange)range;

Parameters

language

The language of the text range.

range

The range of the string that is being assigned a language.

See Also

Determining the Dominant Language and Orthography

dominantLanguage

The dominant language of the string set for the linguistic tagger.

- setOrthography:range:

Sets the orthography for the specified range.