DetectedLanguage Class
DetectedLanguage.
- Inheritance
-
DetectedLanguage
Constructor
DetectedLanguage(*, name: Optional[str] = None, iso6391_name: Optional[str] = None, score: Optional[float] = None, **kwargs)
Parameters
- iso6391_name
- str
Required
A two letter representation of the detected language according to the ISO 639-1 standard (e.g. en, fr).
- score
- float
Required
A confidence score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true.
Feedback
Submit and view feedback for