Structure

NSLinguisticTagger.Options

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

Declaration

struct Options

Topics

Constants

static var omitWords: NSLinguisticTagger.Options

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

static var omitWhitespace: NSLinguisticTagger.Options

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

static var omitOther: NSLinguisticTagger.Options

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

static var joinNames: NSLinguisticTagger.Options

Typically, multiple-word names will be returned as multiple tokens, following the standard tokenization practice of the tagger. If this option is set, then multiple-word names will be joined together and returned as a single token.

Relationships

Conforms To