Haskell binding to Google's AJAX Language API for Translation and Detection http://github.com/nfjinjing/translate
|Latest on Hackage:||2010.1.24|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
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)
2010.01.24 Joao F. Ferreira firstname.lastname@example.org
- Added support for language detection:
Text.Language.Translate, but I’ve maintained
Text.Translatefor backward compatibility
- Fixed bug with URI escaping. Google’s API is expecting an ASCII string that is first escaped with UTF-8.
- Refactored parts of the module to avoid repeated code