Structure

NLTokenizer.Attributes

Hints about the contents of the string for the tokenizer.

Declaration

struct Attributes

Topics

Contents

Initializers

init(rawValue: UInt)

Creates an attribute with given value.

Relationships

Conforms To

See Also

Configuring a Tokenizer

var string: String?

The text to be tokenized.

func setLanguage(NLLanguage)

Sets the language of the text to be tokenized.

var unit: NLTokenUnit

The linguistic unit that this tokenizer uses.