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
Change log CHANGELOG.md
Dependencies base (>=4.14.1.0 && <4.16.0.0), bytestring (>=0.10.0.0 && <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
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 2022-02-05T11:03:28Z
Distributions
Downloads 295 total (7 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-0.1.1.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 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.

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