tone_convert.py 565 B

1234567891011121314151617181920212223242526272829
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from pypinyin.style._tone_convert import ( # noqa
  4. to_normal,
  5. to_tone,
  6. to_tone2,
  7. to_tone3,
  8. to_initials,
  9. to_finals,
  10. to_finals_tone,
  11. to_finals_tone2,
  12. to_finals_tone3,
  13. tone_to_normal,
  14. tone_to_tone2,
  15. tone_to_tone3,
  16. tone2_to_normal,
  17. tone2_to_tone,
  18. tone2_to_tone3,
  19. tone3_to_normal,
  20. tone3_to_tone,
  21. tone3_to_tone2,
  22. # 向后兼容
  23. _improve_tone3,
  24. _get_number_from_pinyin,
  25. _v_to_u,
  26. _fix_v_u,
  27. _re_number,
  28. ) # noqa