opencc: OpenCC bindings

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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]

Properties

Versions 0.1.0.0, 0.1.1.0, 0.1.2.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 i@ksqsf.moe
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:25:28Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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