constants.pyi 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. from enum import IntEnum, unique
  2. from typing import Dict, List, Any, Text
  3. PHRASES_DICT = ... # type: Dict[Text, List[List[Text]]]
  4. PINYIN_DICT = ... # type: Dict[int, Text]
  5. RE_TONE2 = ... # type: Any
  6. RE_HANS = ... # type: Any
  7. @unique
  8. class Style(IntEnum):
  9. NORMAL = ...
  10. TONE = ...
  11. TONE2 = ...
  12. TONE3 = ...
  13. INITIALS = ...
  14. FIRST_LETTER = ...
  15. FINALS = ...
  16. FINALS_TONE = ...
  17. FINALS_TONE2 = ...
  18. FINALS_TONE3 = ...
  19. BOPOMOFO = ...
  20. BOPOMOFO_FIRST = ...
  21. CYRILLIC = ...
  22. CYRILLIC_FIRST = ...
  23. WADEGILES = ...
  24. GWOYEU = ...
  25. BRAILLE_MAINLAND_TONE = ...
  26. BRAILLE_MAINLAND = ...
  27. NORMAL = ... # type: Style
  28. STYLE_NORMAL = ... # type: Style
  29. TONE = ... # type: Style
  30. STYLE_TONE = ... # type: Style
  31. TONE2 = ... # type: Style
  32. STYLE_TONE2 = ... # type: Style
  33. TONE3 = ... # type: Style
  34. STYLE_TONE3 = ... # type: Style
  35. INITIALS = ... # type: Style
  36. STYLE_INITIALS = ... # type: Style
  37. FIRST_LETTER = ... # type: Style
  38. STYLE_FIRST_LETTER = ... # type: Style
  39. FINALS = ... # type: Style
  40. STYLE_FINALS = ... # type: Style
  41. FINALS_TONE = ... # type: Style
  42. STYLE_FINALS_TONE = ... # type: Style
  43. FINALS_TONE2 = ... # type: Style
  44. STYLE_FINALS_TONE2 = ... # type: Style
  45. FINALS_TONE3 = ... # type: Style
  46. STYLE_FINALS_TONE3 = ... # type: Style
  47. BOPOMOFO = ... # type: Style
  48. STYLE_BOPOMOFO = ... # type: Style
  49. BOPOMOFO_FIRST = ... # type: Style
  50. STYLE_BOPOMOFO_FIRST = ... # type: Style
  51. CYRILLIC = ... # type: Style
  52. STYLE_CYRILLIC = ... # type: Style
  53. CYRILLIC_FIRST = ... # type: Style
  54. STYLE_CYRILLIC_FIRST = ... # type: Style