<!--
{
  "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/NLScript",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Natural Language"
    ],
    "preciseIdentifier" : "c:@T@NLScript"
  },
  "title" : "NLScript"
}
-->

# NLScript

The writing scripts that the Natural Language framework supports.

```
struct NLScript
```

## Topics

### Getting standard scripts

[`NLScriptArabic`](/documentation/NaturalLanguage/NLScript/arabic)

The unique identifier string for the Arabic script.

[`NLScriptArmenian`](/documentation/NaturalLanguage/NLScript/armenian)

The unique identifier string for the Armenian script.

[`NLScriptBengali`](/documentation/NaturalLanguage/NLScript/bengali)

The unique identifier string for the Bengali script.

[`NLScriptCanadianAboriginalSyllabics`](/documentation/NaturalLanguage/NLScript/canadianAboriginalSyllabics)

The unique identifier string for the Canadian Aboriginal Syllabics.

[`NLScriptCherokee`](/documentation/NaturalLanguage/NLScript/cherokee)

The unique identifier string for the Cherokee script.

[`NLScriptCyrillic`](/documentation/NaturalLanguage/NLScript/cyrillic)

The unique identifier string for the Cyrillic script.

[`NLScriptDevanagari`](/documentation/NaturalLanguage/NLScript/devanagari)

The unique identifier string for the Devanagari script.

[`NLScriptEthiopic`](/documentation/NaturalLanguage/NLScript/ethiopic)

The unique identifier string for the Ethiopic script.

[`NLScriptGeorgian`](/documentation/NaturalLanguage/NLScript/georgian)

The unique identifier string for the Georgian script.

[`NLScriptGreek`](/documentation/NaturalLanguage/NLScript/greek)

The unique identifier string for the Greek script.

[`NLScriptGujarati`](/documentation/NaturalLanguage/NLScript/gujarati)

The unique identifier string for the Gujarati script.

[`NLScriptGurmukhi`](/documentation/NaturalLanguage/NLScript/gurmukhi)

The unique identifier string for the Gurmukhi script.

[`NLScriptHebrew`](/documentation/NaturalLanguage/NLScript/hebrew)

The unique identifier string for the Hebrew script.

[`NLScriptJapanese`](/documentation/NaturalLanguage/NLScript/japanese)

The unique identifier string for the Japanese script.

[`NLScriptKannada`](/documentation/NaturalLanguage/NLScript/kannada)

The unique identifier string for the Kannada script.

[`NLScriptKhmer`](/documentation/NaturalLanguage/NLScript/khmer)

The unique identifier string for the Khmer script.

[`NLScriptKorean`](/documentation/NaturalLanguage/NLScript/korean)

The unique identifier string for the Korean script.

[`NLScriptLao`](/documentation/NaturalLanguage/NLScript/lao)

The unique identifier string for the Lao script.

[`NLScriptLatin`](/documentation/NaturalLanguage/NLScript/latin)

The unique identifier string for the Latin script.

[`NLScriptMalayalam`](/documentation/NaturalLanguage/NLScript/malayalam)

The unique identifier string for the Malayalam script.

[`NLScriptMongolian`](/documentation/NaturalLanguage/NLScript/mongolian)

The unique identifier string for the Mongolian script.

[`NLScriptMyanmar`](/documentation/NaturalLanguage/NLScript/myanmar)

The unique identifier string for the Myanmar script.

[`NLScriptOriya`](/documentation/NaturalLanguage/NLScript/oriya)

The unique identifier string for the Oriya script.

[`NLScriptSimplifiedChinese`](/documentation/NaturalLanguage/NLScript/simplifiedChinese)

The unique identifier string for the simplified Chinese script.

[`NLScriptSinhala`](/documentation/NaturalLanguage/NLScript/sinhala)

The unique identifier string for the Sinhala script.

[`NLScriptTamil`](/documentation/NaturalLanguage/NLScript/tamil)

The unique identifier string for the Tamil script.

[`NLScriptTelugu`](/documentation/NaturalLanguage/NLScript/telugu)

The unique identifier string for the Telugu script.

[`NLScriptThai`](/documentation/NaturalLanguage/NLScript/thai)

The unique identifier string for the Thai script.

[`NLScriptTibetan`](/documentation/NaturalLanguage/NLScript/tibetan)

The unique identifier string for the Tibetan script.

[`NLScriptTraditionalChinese`](/documentation/NaturalLanguage/NLScript/traditionalChinese)

The unique identifier string for the traditional Chinese script.

[`NLScriptUndetermined`](/documentation/NaturalLanguage/NLScript/undetermined)

The unique identifier string for a script the Natural Language framework doesn’t recognize.

### Creating custom script tags

[`init(_:)`](/documentation/NaturalLanguage/NLScript/init(_:))

Creates a language script with the given string.

[`init(rawValue:)`](/documentation/NaturalLanguage/NLScript/init(rawValue:))

Creates a language script with the given string as its raw value.

## Relationships

### Conforms To

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

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

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

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

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

---

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)