Agent skill

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.

Derek Pearson935★ · +23/wk · 1 repos on radarProfile →
claude-codecodexcursorNOASSERTION
Install
npx skills add dpearson2699/swift-ios-skills --skill natural-language --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/natural-language/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 963 · +28 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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) -

What's inside
Steps it walks through
  1. Contents
  2. Setup
  3. Tokenization
  4. Token Units
  5. Enumerating with Attributes
  6. Language Identification
  7. Part-of-Speech Tagging
  8. Common Tag Schemes
  9. Named Entity Recognition
  10. Sentiment Analysis
  11. Text Embeddings
  12. Translation
  13. System Translation Overlay
  14. Programmatic Translation
Ships with 2 files
  • evals/evals.json
  • references/translation-patterns.md
More from swift-ios-skills
All skills →
About this skill
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.

Keep going