Enumeration

NLTokenUnit

Constants representing linguistic units.

Declaration

typedef enum NLTokenUnit : NSInteger {
    ...
} NLTokenUnit;

Overview

Topics

Constants

NLTokenUnitWord

An individual word.

NLTokenUnitSentence

An individual sentence.

NLTokenUnitParagraph

An individual paragraph.

NLTokenUnitDocument

The document in its entirety.

See Also

Deteriming the Range of a Unit Token

- tokenRangeAtIndex:unit:

Returns the range of the linguistic unit containing the specified character index.