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+.
Tokenizza, tagga e analizza il testo in linguaggio naturale utilizzando il framework NaturalLanguage di Apple e traduci tra lingue con il framework Translation. Da utilizzare quando si aggiungono identificazione della lingua, analisi del sentiment, riconoscimento di entità denominate, tag di parti del discorso, incorporamenti di testo o traduzione in-app alle app iOS/macOS/visionOS. Fonte: dpearson2699/swift-ios-skills.