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.
Import NaturalLanguage for text analysis and Translation for language translation. No special entitlements or capabilities are required for NaturalLanguage. Translation requires iOS 17.4+ / macOS 14.4+.
قم بترميز نص اللغة الطبيعية ووضع علامات عليه وتحليله باستخدام إطار عمل NaturalLanguage من Apple والترجمة بين اللغات باستخدام إطار عمل الترجمة. يُستخدم عند إضافة تعريف اللغة، أو تحليل المشاعر، أو التعرف على الكيان المسمى، أو وضع علامات على جزء من الكلام، أو تضمينات النص، أو الترجمة داخل التطبيق إلى تطبيقات iOS/macOS/visionOS. المصدر: dpearson2699/swift-ios-skills.