Metadata-Version: 2.1
Name: cn-sort
Version: 0.6.2
Summary: 按拼音和笔顺快速排序大量简体中文词组（支持百万数量级）。
Home-page: https://github.com/bmxbmx3/cn_sort/tree/master
Author: bmxbmx3
Author-email: 982766639@qq.com
License: MIT
Download-URL: https://pypi.org/project/cn-sort/#files
Keywords: njupt chinese word sort pronounce bihua 排序 中文 拼音 笔画 笔顺 词 汉字
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pypinyin
Requires-Dist: jieba

﻿# cn_sort

按拼音和笔顺精确、快速排序大量简体中文词组（支持百万数量级，简体中文与非中文混用的词组也可），有效解决多音字混排的问题。

# 安装

适用于3.6+的python版本。

pip命令：

```
pip install cn_sort --upgrade
```

# 依赖
本项目涉及以下依赖：
+ jieba
+ pypinyin



# 使用

```
from cn_sort.process_cn_word import *

text_list = ["重心", "河水", "重庆", "河流", "WTO世贸组织"]      # 待排序的中文词组列表
result_text_list=list(sort_text_list(text_list))        # 按拼音和笔顺排序后的中文字组列表
print(result_text_list)

# 输出为：
# ['WTO世贸组织', '重庆', '河流', '河水', '重心']
```

具体使用见函数注释。

# 构思

# 来源

# 缺陷

# 表结构

