<!--
{
  "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/NLTagger/Options",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Natural Language",
      "NaturalLanguage"
    ],
    "preciseIdentifier" : "c:@E@NLTaggerOptions"
  },
  "title" : "NLTagger.Options"
}
-->

# NLTagger.Options

Constants for linguistic tagger enumeration specifying which tokens to omit and whether to join names.

```
struct Options
```

## Topics

### Constants

[`NLTaggerOmitWords`](/documentation/NaturalLanguage/NLTagger/Options/omitWords)

Omit tokens of type [`word`](/documentation/NaturalLanguage/NLTag/word) (items considered to be words).

[`NLTaggerOmitPunctuation`](/documentation/NaturalLanguage/NLTagger/Options/omitPunctuation)

Omit tokens of type [`punctuation`](/documentation/NaturalLanguage/NLTag/punctuation) (all punctuation).

[`NLTaggerOmitWhitespace`](/documentation/NaturalLanguage/NLTagger/Options/omitWhitespace)

Omit tokens of type [`whitespace`](/documentation/NaturalLanguage/NLTag/whitespace) (whitespace of all sorts).

[`NLTaggerOmitOther`](/documentation/NaturalLanguage/NLTagger/Options/omitOther)

Omit tokens of type [`other`](/documentation/NaturalLanguage/NLTag/other) (non-linguistic items, such as symbols).

[`NLTaggerJoinNames`](/documentation/NaturalLanguage/NLTagger/Options/joinNames)

Typically, multiple-word names will be returned as multiple tokens, following the standard tokenization practice of the tagger.

[`NLTaggerJoinContractions`](/documentation/NaturalLanguage/NLTagger/Options/joinContractions)

Contractions will be returned as one token.

### Initializers

[`init(rawValue:)`](/documentation/NaturalLanguage/NLTagger/Options/init(rawValue:))

Creates the option with a raw value.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

---

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)