Enumeration

NLTaggerOptions

Constants for linguistic tagger enumeration specifying which tokens to omit and whether to join names.

Declaration

typedef enum NLTaggerOptions : NSUInteger {
    ...
} NLTaggerOptions;

Topics

Constants

NLTaggerOmitWords

Omit tokens of type NLTagWord (items considered to be words).

NLTaggerOmitPunctuation

Omit tokens of type NLTagPunctuation (all punctuation).

NLTaggerOmitWhitespace

Omit tokens of type NLTagWhitespace (whitespace of all sorts).

NLTaggerOmitOther

Omit tokens of type NLTagOther (non-linguistic items, such as symbols).

NLTaggerJoinNames

Typically, multiple-word names will be returned as multiple tokens, following the standard tokenization practice of the tagger.

NLTaggerJoinContractions

Contractions will be returned as one token.

See Also

Enumerating Linguistic Tags

- enumerateTagsInRange:unit:scheme:options:usingBlock:

Enumerates a block over the tagger’s string, given a range, token unit, and tag scheme.

NLTag

A token type, lexical class, name, lemma, language, or script returned by a linguistic tagger for natural language text.