Platforms to show: All Mac Windows Linux Cross-Platform
Back to NLLanguageRecognizerMBS class.
NLLanguageRecognizerMBS.Constructor
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NLLanguageRecognizerMBS.languageConstraints as string()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NLLanguageRecognizerMBS.languageHypothesesWithMaximum(maxHypotheses as Integer) as Dictionary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
maxHypotheses: The maximum number of languages to return.
A dictionary mapping languages with their probabilities, up to maxHypotheses languages.
NLLanguageRecognizerMBS.processString(text as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Use this method to process the provided text and to update the dominantLanguage result and languageHypotheses() probabilities.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Resets the recognizer to its initial state.
NLLanguageRecognizerMBS.setLanguageConstraints(testDeviceIdentifiers() as string)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Natural Language | MBS MacFrameworks Plugin | 26.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.