opencc: OpenCC bindings

[ library, mit, text ] [ Propose Tags ]

Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversions between Traditional Chinese, Simplified Chinese and Japanese Kanji (Shinjitai). It supports character-level and phrase-level conversion, character variant conversion and regional idioms among Mainland China, Taiwan and Hong Kong. This library is the Haskell bindings.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],
Change log
Dependencies base (>= && <, bytestring (>= && <0.11), mtl (>=2.2.2 && <2.3), text (>=1.2.4 && <1.3), transformers (>=0.5.6 && <0.6) [details]
License MIT
Copyright (c) 2021 ksqsf
Author ksqsf
Category text
Bug tracker
Source repo head: git clone
Uploaded by ksqsf at 2022-02-05T11:03:28Z
Downloads 245 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for opencc-

[back to package description]



This library contains both high-level and low-level bindings to OpenCC, Open Chinese Convert. This library is an experiment on Haskell FFI and is not intended for industrial use (at least for now). But since this library is extremely simple, you are welcome to review the code and decide for yourself.


hopencc is an existing Haskell library that does the same thing, but that library only provides the IO-flavor binding here. hopencc copies the data, while opencc-hs doesn't (taking advantage of the internal representation of bytestrings).