Python-pinyin

Latest version: v0.1.0

Safety actively analyzes 630406 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 17

0.17.0

++++++++++++++++++++++++

* **[Changed]** 词语拼音数据改为使用来自 `phrase-pinyin-data`_ v0.3.1 的拼音数据。
* **[Fixed]** 修正 ``斯事体大`` 的拼音。

0.16.1

++++++++++++++++++++++++

* **[Improved]** 使用 `pinyin-data`_ v0.4.1 的拼音数据. fixed `58`_
* **[Improved]** 更新 `厦门` 的拼音. fixed `59`_

0.16.0

++++++++++++++++++++++++

* **[New]** Added new pinyin styles - ``CYRILLIC`` (汉语拼音与俄语字母对照表) and ``CYRILLIC _FIRST`` (via `55`_ thanks `tyrbonit`_)

.. code-block:: python

>>> pypinyin.pinyin('中心', style=pypinyin.CYRILLIC)
[['чжун1'], ['синь1']]
>>> pypinyin.pinyin('中心', style=pypinyin.CYRILLIC_FIRST)
[['ч'], ['с']]
* **[New]** Added Russian translation README (`README_ru.rst`_)
* **[New]** Command-line tool supported the new pinyin styles: ``CYRILLIC, CYRILLIC_FIRST``

0.15.0

++++++++++++++++++++++++

* **[Changed]** 使用 `pinyin-data`_ v0.4.0 的拼音数据

0.14.0

++++++++++++++++++++++++

* **[New]** 新增注音 ``BOPOMOFO`` 及注音首字母 ``BOPOMOFO_FIRST`` 风格(via `51`_ thanks `gumblex`_ `Artoria2e5`_)

.. code-block:: python

>>> pypinyin.pinyin('中心', style=pypinyin.BOPOMOFO)
[['ㄓㄨㄥ'], ['ㄒㄧㄣ']]
>>> pypinyin.pinyin('中心', style=pypinyin.BOPOMOFO_FIRST)
[['ㄓ'], ['ㄒ']]


* **[New]** 新增音调在拼音后的 ``TONE3`` 以及 ``FINALS_TONE3`` 风格(via `51`_ thanks `gumblex`_ `Artoria2e5`_ )

.. code-block:: python

>>> pypinyin.pinyin('中心', style=pypinyin.TONE3)
[['zhong1'], ['xin1']]
>>> pypinyin.pinyin('中心', style=pypinyin.FINALS_TONE3)
[['ong1'], ['in1']]

* **[New]** 命令行程序支持新增的四个风格: ``TONE3, FINALS_TONE3, BOPOMOFO, BOPOMOFO_FIRST``
* **[Bugfixed]** 修复 TONE2 中 ü 标轻声的问题(像 侵略 -> qi1n lv0e4),以及去除文档中 0 表示轻声(via `51`_ thanks `gumblex`_)
* **[Changed]** 不再使用 0 表示轻声,轻声时没有数字(via `51`_ thanks `gumblex`_)

0.13.0

ChangeLog

Page 9 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.