Platforms to show: All Mac Windows Linux Cross-Platform
NLLanguageRecognizerMBS class New in 26.3
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| class | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An NLLanguageRecognizerMBS object automatically detects the language of a piece of text. It performs language identification by:
- Identifying the dominant script of a piece of text. Some languages have a unique script (like Greek), but others share the same script (like English, French, and German, which all share the Latin script).
- Identifying the language itself.
Use the convenience method, dominantLanguageForString:, to get the most likely language without creating an NLLanguageRecognizer.
- 3 properties
- property dominantLanguage as String
- property Handle as Integer
- property languageHints as Dictionary
- 6 methods
- method Constructor
- method languageConstraints as string()
- method languageHypothesesWithMaximum(maxHypotheses as Integer) as Dictionary
- method processString(text as String)
- method reset
- method setLanguageConstraints(testDeviceIdentifiers() as string)
- 60 shared methods
- shared method available as boolean
- shared method dominantLanguageForString(text as string) as string
- shared method NLLanguageAmharic as String
- shared method NLLanguageArabic as String
- shared method NLLanguageArmenian as String
- shared method NLLanguageBengali as String
- shared method NLLanguageBulgarian as String
- shared method NLLanguageBurmese as String
- shared method NLLanguageCatalan as String
- shared method NLLanguageCherokee as String
- shared method NLLanguageCroatian as String
- shared method NLLanguageCzech as String
- shared method NLLanguageDanish as String
- shared method NLLanguageDutch as String
- shared method NLLanguageEnglish as String
- shared method NLLanguageFinnish as String
- shared method NLLanguageFrench as String
- shared method NLLanguageGeorgian as String
- shared method NLLanguageGerman as String
- shared method NLLanguageGreek as String
- shared method NLLanguageGujarati as String
- shared method NLLanguageHebrew as String
- shared method NLLanguageHindi as String
- shared method NLLanguageHungarian as String
- shared method NLLanguageIcelandic as String
- shared method NLLanguageIndonesian as String
- shared method NLLanguageItalian as String
- shared method NLLanguageJapanese as String
- shared method NLLanguageKannada as String
- shared method NLLanguageKazakh as String
- shared method NLLanguageKhmer as String
- shared method NLLanguageKorean as String
- shared method NLLanguageLao as String
- shared method NLLanguageMalay as String
- shared method NLLanguageMalayalam as String
- shared method NLLanguageMarathi as String
- shared method NLLanguageMongolian as String
- shared method NLLanguageNorwegian as String
- shared method NLLanguageOriya as String
- shared method NLLanguagePersian as String
- shared method NLLanguagePolish as String
- shared method NLLanguagePortuguese as String
- shared method NLLanguagePunjabi as String
- shared method NLLanguageRomanian as String
- shared method NLLanguageRussian as String
- shared method NLLanguageSimplifiedChinese as String
- shared method NLLanguageSinhalese as String
- shared method NLLanguageSlovak as String
- shared method NLLanguageSpanish as String
- shared method NLLanguageSwedish as String
- shared method NLLanguageTamil as String
- shared method NLLanguageTelugu as String
- shared method NLLanguageThai as String
- shared method NLLanguageTibetan as String
- shared method NLLanguageTraditionalChinese as String
- shared method NLLanguageTurkish as String
- shared method NLLanguageUkrainian as String
- shared method NLLanguageUndetermined as String
- shared method NLLanguageUrdu as String
- shared method NLLanguageVietnamese as String
This class has no sub classes.
Release notes
- Version 26.3
- Added NLLanguageRecognizerMBS class.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
NLEmbeddingNeighborMBS - NotificationCenterMBS