colrev.env.language_service.LanguageService¶
- class LanguageService[source]¶
Bases:
object
Service to detect languages and handle language codes
Methods
Compute the most likely language code
Computes the most likely languages of a string and their language codes
Unifies a language_code string to the ISO 639-3 standard
Validates whether a list of language codes complies with the ISO 639-3 standard
- compute_language_confidence_values(*, text)[source]¶
Computes the most likely languages of a string and their language codes
- Return type:
list