NLLanguageRecognizer.GetNativeLanguageHypotheses(nuint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a dictionary of probabilities, keyed by language, that describes the most likely languages in which the text that was analyzed with Process(String) was written.
[Foundation.Export("languageHypothesesWithMaximum:")]
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSNumber> GetNativeLanguageHypotheses (nuint maxHypotheses);
abstract member GetNativeLanguageHypotheses : nuint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber>
override this.GetNativeLanguageHypotheses : nuint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber>
Parameters
- maxHypotheses
- System.System.UIntPtr System.unativeint
The maximum number of hypotheses to return.
Returns
A dictionary of probabilities, keyed by language, that describes the most likely languages in which the text that was analyzed with Process(String) was written.
- Attributes