TextLanguage.GetConfidenceScore(ULocale) 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 the confidence score for the specified language locale.
[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
Parameters
- locale
- ULocale
Returns
- Attributes
Remarks
Returns the confidence score for the specified language locale. The value ranges from 0 (low confidence) to 1 (high confidence). 0 indicates that the locale was not found for the processed text.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.