Skip to main content

中英文缩写转化

Project description

SUO

🦩中英文缩写转化

1 功能

  • suo.kuo: 扩写
  • suo.suo: 缩写 # 开发中

2 安装

⚠️注意:

仅支持 Python 的 3.6 以上版本;

2.1 使用 pip 安装

pip install suo

2.2 从代码库安装

git clone https://github.com/Ailln/suo.git
cd suo
python setup.py install

3 使用

3.1 扩写

  1. 获得扩写
from suo import kuo
result = kuo("awsl")
print(result)
# "阿伟死了"
  1. 获得所有可能的扩写
from suo import kuo

result = kuo("awsl", show_all=True)
print(result)
# ["阿伟死了", "啊我死了']

4 许可

5 参考

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

suo-0.0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

suo-0.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page