汉语拼音转换工具 python-pinyin

码农软件 · 软件分类 · 拼音转换工具包 · 2019-08-04 11:11:24

软件介绍

Python-pinyin 能将汉语转为拼音。可以用于汉字注音、排序、检索。

基于 hotoo/pinyin 开发。

  • Python version: 2.6, 2.7, pypy, 3.3, 3.4

特性

  • 根据词组智能匹配最正确的拼音。

  • 支持多音字。

  • 简单的繁体支持。

  • 支持多种不同拼音风格。

安装

$ pip install pypinyin

为了更好的处理包含多音字及非中文字符的字符串, 推荐同时安装 jieba 分词模块。

详见 github 页面

相关项目

本文地址:https://www.codercto.com/soft/d/11617.html

Haskell

Haskell

Simon Thompson / Addison-Wesley / 1999-3-16 / GBP 40.99

The second edition of Haskell: The Craft of Functional Programming is essential reading for beginners to functional programming and newcomers to the Haskell programming language. The emphasis is on th......一起来看看 《Haskell》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具