<!--
{
  "availability" : [
    "iOS: 12.0.0 -",
    "iPadOS: 12.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 12.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NaturalLanguage",
  "identifier" : "/documentation/NaturalLanguage/NLTokenUnit",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Natural Language"
    ],
    "preciseIdentifier" : "c:@E@NLTokenUnit"
  },
  "title" : "NLTokenUnit"
}
-->

# NLTokenUnit

Constants representing linguistic units.

```
enum NLTokenUnit
```

## Overview

You use these constants with these methods:

- [`availableTagSchemes(for:language:)`](/documentation/NaturalLanguage/NLTagger/availableTagSchemes(for:language:))
- [`tagsInRange:unit:scheme:options:tokenRanges:`](/documentation/NaturalLanguage/NLTagger/tagsInRange:unit:scheme:options:tokenRanges:)
- [`enumerateTagsInRange:unit:scheme:options:usingBlock:`](/documentation/NaturalLanguage/NLTagger/enumerateTagsInRange:unit:scheme:options:usingBlock:)

## Topics

### Constants

[`NLTokenUnit.word`](/documentation/NaturalLanguage/NLTokenUnit/word)

An individual word.

[`NLTokenUnit.sentence`](/documentation/NaturalLanguage/NLTokenUnit/sentence)

An individual sentence.

[`NLTokenUnit.paragraph`](/documentation/NaturalLanguage/NLTokenUnit/paragraph)

An individual paragraph.

[`NLTokenUnit.document`](/documentation/NaturalLanguage/NLTokenUnit/document)

The document in its entirety.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)