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:此值不能为 null。
返回
值介于 0.0f 和 1.0f 之间(含 1.0f)
- 特性
注解
返回指定语言区域设置的置信度分数。 值范围为 0(低置信度)到 1(高置信度)。 0 表示找不到已处理文本的区域设置。
Android 参考。android.view.textclassifier.TextLanguage.getConfidenceScore
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。