Documentation
detect :: String -> IO (Maybe (String, Bool, Double))Source
Returns a triple where the first component is the language code associated with given text, the second is a boolean representing whether or not the detection interval believes the language code is reliable for the given text, and the third is a numeric value between 0-1.0 that represents the confidence level in the language code for the given text.