
Description
Natural language is an agent skill for analysing text on iOS with Apple's NaturalLanguage framework and translating it with the Translation framework. The NaturalLanguage part covers tokenising text with NLTokenizer, identifying the language, tagging parts of speech and named entities with NLTagger, and computing word and sentence embeddings with NLEmbedding. It also covers sentiment analysis and training custom NLModel classifiers and taggers. The Translation part covers in-app translation between languages with TranslationSession and checks availability with LanguageAvailability. All of it runs on the device. The skill applies once you already have the text, and it hands off other jobs to sibling skills, such as OCR to vision, speech to text to speech recognition, and summarisation to Apple Intelligence. It is a Swift guide for developers building text features into an app.…
Highlights
- Tokenisation and language identification
- Part-of-speech and named entity tagging
- Sentiment analysis and embeddings
- Custom NLModel classifiers
- In-app translation with TranslationSession
Ratings & Reviews
No ratings yet
Be the first to rate natural-language.
People also visit
AllenNLP
Create NLP models for information extraction, analyze sentiment in text data
natural-language FAQ
What does the natural-language skill cover?
On-device text analysis with NaturalLanguage and in-app translation with the Translation framework.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill natural-language.
Does it handle speech or image text?
No. The skill hands speech to speech recognition and OCR to vision, and it starts once you already have text.
Has the skill been security audited?
Yes. Gen Agent Trust Hub shows Pass, Socket shows Pass and Snyk shows Pass.
What are the best natural-language alternatives?
Popular alternatives to natural-language include translated/lara-mcp, caveman and baoyu-translate. See all natural-language alternatives












