Skip to content

Bump pypinyin from 0.40.0 to 0.48.0#124

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypinyin-0.48.0
Open

Bump pypinyin from 0.40.0 to 0.48.0#124
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/pypinyin-0.48.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 16, 2023

Bumps pypinyin from 0.40.0 to 0.48.0.

Changelog

Sourced from pypinyin's changelog.

0.48.0_ (2023-01-15) +++++++++++++++++++++++++

  • [Bugfixed] 修复 pypinyin.contrib.tone_convertto_ 开头的转换函数 没有正确处理输入的拼音包含 5 的场景(当包含 5 时会导致返回的格式不符合函数预期的返回格式) 以及修复没有正确处理部分拼音中的 üv 的问题 (当 v_to_u=False 时返回结果需要将 ü 替换为 v) Fixed [#290](https://github.com/mozillazg/python-pinyin/issues/290)_ :

    .. code-block:: python

    # 修复前
    >>> to_tone('lve')
    'lve'
    >>> to_tone2('lün5')
    'lv5n'
    >>> to_tone3('lün5')
    'lv5n'
    >>> to_tone2('lvn5')
    'lv5n'
    >>> to_tone3('lvn5')
    'lv5n'
    

    修复后

    >>> to_tone('lve') 'lüe' >>> to_tone2('lün5') 'lvn' >>> to_tone3('lün5') 'lvn' >>> to_tone2('lvn5') 'lvn' >>> to_tone3('lvn5') 'lvn' >>> to_tone2('lvn5', v_to_u=True) 'lün' >>> to_tone3('lvn5', v_to_u=True) 'lün' >>> to_tone2('lvn', neutral_tone_with_five=True) 'lv5n' >>> to_tone3('lvn', neutral_tone_with_five=True) 'lvn5'

  • [Bugfixed] 修复 Style.BOPOMOFO 风格下未处理 ê 的问题。Fixed [#291](https://github.com/mozillazg/python-pinyin/issues/291)_

  • [Improved] 使用 phrase-pinyin-data_ v0.14.0 的词语拼音数据。

0.47.1_ (2022-08-21) +++++++++++++++++++++++++

  • [Bugfixed] 修复在处理既没有声母也没有韵母的拼音时,指定 neutral_tone_with_five=True 会返回

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pypinyin](https://github.com/mozillazg/python-pinyin) from 0.40.0 to 0.48.0.
- [Release notes](https://github.com/mozillazg/python-pinyin/releases)
- [Changelog](https://github.com/mozillazg/python-pinyin/blob/master/CHANGELOG.rst)
- [Commits](mozillazg/python-pinyin@v0.40.0...v0.48.0)

---
updated-dependencies:
- dependency-name: pypinyin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants