<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSLinguisticTagger/Options",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSLinguisticTaggerOptions"
  },
  "title" : "NSLinguisticTagger.Options"
}
-->

# NSLinguisticTagger.Options

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

```
struct Options
```

## Topics

### Constants

[`NSLinguisticTaggerOmitWords`](/documentation/Foundation/NSLinguisticTagger/Options/omitWords)

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

[`NSLinguisticTaggerOmitPunctuation`](/documentation/Foundation/NSLinguisticTagger/Options/omitPunctuation)

Omit tokens of type [`punctuation`](/documentation/Foundation/NSLinguisticTag/punctuation) (all punctuation).

[`NSLinguisticTaggerOmitWhitespace`](/documentation/Foundation/NSLinguisticTagger/Options/omitWhitespace)

Omit tokens of type [`whitespace`](/documentation/Foundation/NSLinguisticTag/whitespace) (whitespace of all sorts).

[`NSLinguisticTaggerOmitOther`](/documentation/Foundation/NSLinguisticTagger/Options/omitOther)

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

[`NSLinguisticTaggerJoinNames`](/documentation/Foundation/NSLinguisticTagger/Options/joinNames)

Typically, multiple-word names will be returned as multiple tokens, following the standard tokenization practice of the tagger.  If this option is set, then multiple-word names will be joined together and returned as a single token.

## Relationships

### Conforms To

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

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

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

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

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

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

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

[`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)