@hackage translate2010.1.24

Haskell binding to Google's AJAX Language API for Translation and Detection

Translate

Haskell binding to Google's AJAX Language API for Translation and Detection

ghci

> :m Text.Language.Translate
> translate "en" "fr" "hello"

Just "bonjour"

> :m Text.Language.Detect
> detect "Program testing can be used to show the presence of bugs, but never to show their absence!"

Just ("en",True,0.87355334)