Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Nemesis
Octocat-spinner-32 Setup.lhs
Octocat-spinner-32 changelog.md
Octocat-spinner-32 known-issues.md
Octocat-spinner-32 readme.md
Octocat-spinner-32 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)
Something went wrong with that request. Please try again.