identify the language type from a given String