Lingua::Identify identifies the language a given string or file is written in. WWW: https://metacpan.org/release/Lingua-Identify