naver-translate

Interface to Naver Translate https://github.com/dahlia/naver-translate

Latest on Hackage:0.1.0.2

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.

GPL-3 licensed by Hong Minhee

naver-translate

Haskell interface to Naver Translate. Note that Naver Translate doesn't provide any official API.

> :set -XOverloadedStrings
> import Language.Translate.Naver (translate)
> import Data.LanguageCodes (ISO639_1(JA, KO))
> import Data.Text (unpack)
> result <- translate KO JA "안녕하세요."
> putStrLn (unpack result)
こんにちは

Written by Hong Minhee and distributed under GPLv3 or higher. See also LICENSE file.

comments powered byDisqus