編輯

共用方式為


NLLanguageRecognizer.GetNativeLanguageHypotheses(nuint) 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:")]
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

Applies to