Navigation

  • index
  • next |
  • pypinyin 0.12.1 documentation »

汉语拼音转换工具(Python 版)¶

Build Coverage PyPI version PyPI downloads

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

基于 hotoo/pinyin 开发。

  • Documentation: http://pypinyin.rtfd.org
  • GitHub: https://github.com/mozillazg/python-pinyin
  • License: MIT license
  • PyPI: https://pypi.python.org/pypi/pypinyin
  • Python version: 2.6, 2.7, pypy, 3.3, 3.4, 3.5

特性¶

  • 根据词组智能匹配最正确的拼音。
  • 支持多音字。
  • 简单的繁体支持。
  • 支持多种不同拼音风格。

Contents¶

  • 安装
  • 使用
    • 示例
    • 命令行工具
    • 处理不包含拼音的字符
    • 分词处理(用于处理多音字和非中文字符)
    • 自定义拼音库
  • API
  • FAQ
  • Related Projects
  • Changelog
    • 0.12.1 (2016-05-11)
    • 0.12.0 (2016-03-12)
    • 0.11.1 (2016-02-17)
    • 0.11.0 (2016-01-16)
    • 0.10.0 (2016-01-02)
    • 0.9.5 (2015-12-19)
    • 0.9.4 (2015-11-27)
    • 0.9.3 (2015-11-15)
    • 0.9.2 (2015-11-15)
    • 0.9.1 (2015-10-17)
    • 0.9.0 (2015-09-20)
    • 0.8.5 (2015-08-23)
    • 0.8.4 (2015-08-23)
    • 0.8.3 (2015-08-20)
    • 0.8.2 (2015-08-20)
    • 0.8.1 (2015-07-04)
    • 0.8.0 (2015-06-27)
    • 0.7.0 (2015-06-20)
    • 0.6.0 (2015-06-10)
    • 0.5.7 (2015-05-17)
    • 0.5.6 (2015-02-26)
    • 0.5.5 (2015-01-27)
    • 0.5.4 (2014-12-26)
    • 0.5.3 (2014-12-07)
    • 0.5.2 (2014-09-21)
    • 0.5.1 (2014-03-09)
    • 0.5.0 (2014-03-01)
    • 0.4.4 (2014-01-16)
    • 0.4.3 (2014-01-10)
    • 0.4.2 (2014-01-10)
    • 0.4.1 (2014-01-04)
    • 0.4.0 (2014-01-03)
    • 0.3.1 (2013-12-24)
    • 0.3.0 (2013-09-26)
    • 0.2.0 (2013-09-22)
    • 0.1.0 (2013-09-21)

Indices and tables¶

  • Index
  • Module Index
  • Search Page

Table Of Contents

  • 汉语拼音转换工具(Python 版)
    • 特性
    • Contents
    • Indices and tables

Next topic

安装

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • next |
  • pypinyin 0.12.1 documentation »
© Copyright Copyright (c) 2016 mozillazg, 闲耘. Created using Sphinx 1.3.5.