Type Property

adverb

A tag indicating that the token is an adverb.

Declaration

static let adverb: NLTag

See Also

Lexical Classes

static let noun: NLTag

A tag indicating that the token is a noun.

static let verb: NLTag

A tag indicating that the token is a verb.

static let adjective: NLTag

A tag indicating that the token is an adjective

static let pronoun: NLTag

A tag indicating that the token is a pronoun.

static let determiner: NLTag

A tag indicating that the token is a determiner.

static let particle: NLTag

A tag indicating that the token is a particle.

static let preposition: NLTag

A tag indicating that the token is a preposition.

static let number: NLTag

A tag indicating that the token is a number.

static let conjunction: NLTag

A tag indicating that the token is a conjunction.

static let interjection: NLTag

A tag indicating that the token is an interjection.

static let classifier: NLTag

A tag indicating that the token is a classifier.

static let idiom: NLTag

A tag indicating that the token is an idiom.

static let otherWord: NLTag

A tag indicating that the token is a word other than a kind described by other lexical classes (noun, verb, adjective, adverb, pronoun, determiner, particle, preposition, number, conjunction, interjection, classifier, and idiom).

static let sentenceTerminator: NLTag

A tag indicating that the token is punctuation at the end of a sentence.

static let openQuote: NLTag

A tag indicating that the token is an open quote.

static let closeQuote: NLTag

A tag indicating that the token is a close quote.

static let openParenthesis: NLTag

A tag indicating that the token is an open parenthesis.

static let closeParenthesis: NLTag

A tag indicating that the token is a close parenthesis.

static let wordJoiner: NLTag

A tag indicating that the token is a word joiner, signifying that two tokens on each side should not be broken up.

static let dash: NLTag

A tag indicating that the token is a dash.

static let otherPunctuation: NLTag

A tag indicating that the token is punctuation other than a kind described by other lexical classes (sentence terminator, open or close quote, open or close parenthesis, word joiner, and dash).

static let paragraphBreak: NLTag

A tag indicating that the token is a paragraph break.

static let otherWhitespace: NLTag

A tag indicating that the token is whitespace other than a kind described by other lexical classes (paragraph break).

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