TextLanguage.GetConfidenceScore(ULocale) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳指定語言地區的信心分數。
[Android.Runtime.Register("getConfidenceScore", "(Landroid/icu/util/ULocale;)F", "", ApiSince=29)]
public float GetConfidenceScore(Android.Icu.Util.ULocale locale);
[<Android.Runtime.Register("getConfidenceScore", "(Landroid/icu/util/ULocale;)F", "", ApiSince=29)>]
member this.GetConfidenceScore : Android.Icu.Util.ULocale -> single
參數
- locale
- ULocale
ULocale:這個值不可能為零。
傳回
數值介於 0.0 至 1.0 華氏度之間(含含)
- 屬性
備註
回傳指定語言地區的信心分數。 該數值範圍從0(低信心)到1(高信心)。 0 表示未找到處理後的文本所在位置。
Android 參考資料。android.view.textclassifier.TextLanguage.getConfidenceScore
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。