natural-language
Tokenize, tag, and analyze natural language text using Apple's NaturalLanguage framework and translate between languages with the Translation framework. Use when adding language identification, sentiment analysis, named entity recognition, part-of-speech tagging, text embeddings, or in-app translation to iOS/macOS/visionOS apps.
npx skills add dpearson2699/swift-ios-skills --skill natural-language --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# NaturalLanguage + Translation Analyze natural language text for tokenization, part-of-speech tagging, named entity recognition, sentiment analysis, language identification, and word/sentence embeddings. Translate text between languages with the Translation framework. > This skill covers two related frameworks: **NaturalLanguage** (`NLTokenizer`, `NLTagger`, `NLEmbedding`) for on-device text analysis, and **Translation** (`TranslationSession`, `LanguageAvailability`) for language translation. **Scope boundary:** Use this skill after you already have text. It owns tokenization, language identification, POS/NER tagging, sentiment, embeddings, custom `NLModel` classifiers/taggers, and in-app translation. Hand off OCR to `vision-framework`, speech-to-text to `speech-recognition`, UI strings and locale formatting to `ios-localization`, and generative summarization or Apple Intelligence workflows to `apple-on-device-ai`. ## Contents - [Setup](#setup) - [Tokenization](#tokenization) - [Language Identification](#language-identification) - [Part-of-Speech Tagging](#part-of-speech-tagging) - [Named Entity Recognition](#named-entity-recognition) - [Sentiment Analysis](#sentiment-analysis) -
- Contents
- Setup
- Tokenization
- Token Units
- Enumerating with Attributes
- Language Identification
- Part-of-Speech Tagging
- Common Tag Schemes
- Named Entity Recognition
- Sentiment Analysis
- Text Embeddings
- Translation
- System Translation Overlay
- Programmatic Translation
What does the natural-language skill do?
Tokenize, tag, and analyze natural language text using Apple's NaturalLanguage framework and translate between languages with the Translation framework. Use when adding language identification, sentiment analysis, named entity recognition, part-of-speech tagging, text embeddings, or in-app translation to iOS/macOS/visionOS apps.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill natural-language --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.