Apple's NaturalLanguage and Translation frameworks give you on-device text analysis and language translation without sending data to the cloud. You get tokenization, part-of-speech tagging, named entity recognition, sentiment scoring, and text embeddings for semantic similarity. The Translation framework adds both a system UI overlay and programmatic translation with batch support. NLTagger and NLTokenizer aren't thread-safe, so keep instances on one queue. Sentiment scores range from negative one to positive one, and embeddings work at both word and sentence level. Useful when you need language features in iOS or macOS apps without the latency or privacy concerns of API calls.

skills.sh installs
3.8K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill natural-language --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Release Management, Automation & Workflows, Mobile Development
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1axiomhq avatarquery-metricsaxiomhq/skillsRuns metrics queries against Axiom MetricsDB via scripts. Discovers available metrics, tags, and tag values. Use when asked to query metrics, explore metric dat3.8Kskills.sh installs
2dpearson2699 avatarcore-nfcdpearson2699/swift-ios-skillsRead and write NFC tags using CoreNFC. Use when scanning NDEF tags, reading ISO7816/ISO15693/FeliCa/MIFARE tags, writing NDEF messages, handling NFC session lif3.8Kskills.sh installs
3giuseppe-trisciuoglio avataraws-lambda-python-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for Python with cold start optimization. Use when deploying Python functions to AWS Lambda, choosing between AWS Chalic3.8Kskills.sh installs
4superwall avatarsuperwall-editorsuperwall/skillsBuild and edit live Superwall paywalls from the CLI. Attach to a running browser editor session using a pairing code, list the tools the browser exposes right n3.7Kskills.sh installs
5giuseppe-trisciuoglio avataraws-lambda-java-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for Java with cold start optimization. Use when deploying Java functions to AWS Lambda, choosing between Micronaut and 3.7Kskills.sh installs
6dotnet avatarsetup-local-sdkdotnet/skillsInstall a .NET SDK locally for safe preview testing, specific-version pinning, or reproducible team setups — without modifying the system-wide installation. USE3.7Kskills.sh installs