Share via


NLLanguageRecognizer.GetNativeLanguageHypotheses(UIntPtr) Method

Definition

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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSDictionary<Foundation.NSString,Foundation.NSNumber> GetNativeLanguageHypotheses(UIntPtr maxHypotheses);
[<Foundation.Export("languageHypothesesWithMaximum:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetNativeLanguageHypotheses : unativeint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber>
override this.GetNativeLanguageHypotheses : unativeint -> Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber>

Parameters

maxHypotheses
UIntPtr

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

Applies to