sort-by-pinyin: sort by pinyin

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

Sort Simplified Chinese by pinyin


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 2012.6.5, 2014.5.19, 2017.10.18, 2018.4.9
Change log changelog.md
Dependencies air (>=2014.5.19), base (>=4 && <5), bytestring, containers, here, template-haskell, text [details]
License BSD-3-Clause
Author Jinjing Wang
Maintainer Jinjing Wang <nfjinjing@gmail.com>
Category Web
Home page https://github.com/nfjinjing/sort-by-pinyin
Uploaded by JinjingWang at 2018-07-11T12:38:35Z
Distributions NixOS:2018.4.9
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3094 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-11 [all 1 reports]

Readme for sort-by-pinyin-2018.4.9

[back to package description]

Sort simplified Chinese by PinYin

> compare_chinese_string_by_pinyin "Angel" "天使"
LT
> compare_chinese_string_by_pinyin "恶魔" "天使"
LT
> compare_chinese_string_by_pinyin "恶魔" "大天使"
GT
> map show_pinyin "世界"
[Just "shi4",Just "jie4"]