in file LanguageDetect.php, method Text_LanguageDetect::_convertFromNameMode() Converts an $language input parameter from the configured mode to the language name that is used internally.
_convertToNameMode
in file LanguageDetect.php, method Text_LanguageDetect::_convertToNameMode() Converts an $language output parameter from the language name that is used internally to the configured mode.
_distance
in file LanguageDetect.php, method Text_LanguageDetect::_distance() Calculates a linear rank-order distance statistic between two sets of ranked trigrams
in file ISO639.php, variable Text_LanguageDetect_ISO639::$nameToCode2 Maps all language names from the language database to the ISO 639-1 2-letter language code.
$nameToCode3
in file ISO639.php, variable Text_LanguageDetect_ISO639::$nameToCode3 Maps all language names from the language database to the ISO 639-2 3-letter language code.