opencc: OpenCC bindings

[ library, mit, text ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0
Change log CHANGELOG.md
Dependencies base (>=4.14.1.0 && <4.22.0.0), bytestring (>=0.12.0.0 && <0.13), mtl (>=2.3.1 && <2.4), text (>=2.1.2 && <2.2), transformers (>=0.6.2 && <0.7) [details]
License MIT
Copyright (c) 2021-2025 ksqsf
Author ksqsf
Maintainer [email protected]
Category text
Bug tracker https://github.com/ksqsf/opencc-hs
Source repo head: git clone https://github.com/ksqsf/opencc-hs
Uploaded by ksqsf at 2025-06-19T19:26:50Z
Distributions
Downloads 330 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user [build log]
All reported builds failed as of 2025-06-19 [all 2 reports]

Readme for opencc-0.1.2.0

[back to package description]

opencc-hs

中文版

This library contains both high-level and low-level bindings to OpenCC, Open Chinese Convert.

⚠️ This library is not battle-tested. Please don't hesitate report any problems you find.

Comparison

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).