AI-generated Key Takeaways
-
IdentifiedLanguageobject provides the identified language and its confidence score for a given text input. -
It uses the BCP 47 language tag to represent the identified language.
-
A confidence score, ranging from 0.0 to 1.0, indicates the model's certainty about the identified language.
-
Instances of
IdentifiedLanguagecannot be directly initialized by users.
IdentifiedLanguage
class IdentifiedLanguage : NSObjectAn identified language for the given input text.
-
The BCP 47 language tag for the language.
Declaration
Swift
var languageTag: String { get } -
The confidence score of the language.
Declaration
Swift
var confidence: Float { get } -
Unavailable.