A tag indicating that the token is punctuation at the end of a sentence.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
- watchOS 5.0+
Framework
- Natural Language
Declaration
static let sentenceTerminator: NLTag
A tag indicating that the token is punctuation at the end of a sentence.
SDKs
Framework
static let sentenceTerminator: NLTag
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 adverb: NLTag
A tag indicating that the token is an adverb.
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 other Word: 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 open Quote: NLTag
A tag indicating that the token is an open quote.
static let close Quote: NLTag
A tag indicating that the token is a close quote.
static let open Parenthesis: NLTag
A tag indicating that the token is an open parenthesis.
static let close Parenthesis: NLTag
A tag indicating that the token is a close parenthesis.
static let word Joiner: 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 other Punctuation: 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 paragraph Break: NLTag
A tag indicating that the token is a paragraph break.
static let other Whitespace: NLTag
A tag indicating that the token is whitespace other than a kind described by other lexical classes (paragraph break).