常量
以下常量可在全局范围内使用。
-
无法确定类型的 BCP 47 语言标记
- 并不完全对应。
声明
Objective-C
extern NS_SWIFT_NAME(IdentifiedLanguage.undetermined) NSString *const MLKUndeterminedLanguageTag
-
@成员:
LanguageIdentificationOptions
默认置信度阈值,用于标识给定输入文本中的主要语言。声明
Objective-C
extern const float kMLKDefaultIdentifyLanguageConfidenceThreshold
-
@成员:
LanguageIdentificationOptions
默认置信度阈值,用于标识给定输入文本中可能显示的语言。声明
Objective-C
extern const float kMLKDefaultIdentifyPossibleLanguagesConfidenceThreshold