Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Haskell
Tree: f8bacf8d93

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/Text
.gitignore
LICENSE
Nemesis
Setup.lhs
changelog.md
known-issues.md
readme.md
translate.cabal

readme.md

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)

> :m Text.Language.Detect
> detectCode "bonjour"

Just "fr"
Something went wrong with that request. Please try again.