Restore 0.1.5 version from stash

This commit is contained in:
liaibo
2025-12-08 19:56:24 +08:00
parent de189e938d
commit 8db3f4e32d
8578 changed files with 2703426 additions and 217 deletions
@@ -0,0 +1,78 @@
from enum import IntEnum, unique
from typing import Dict, List, Any, Text
PHRASES_DICT = ... # type: Dict[Text, List[List[Text]]]
PINYIN_DICT = ... # type: Dict[int, Text]
RE_TONE2 = ... # type: Any
RE_HANS = ... # type: Any
@unique
class Style(IntEnum):
NORMAL = ...
TONE = ...
TONE2 = ...
TONE3 = ...
INITIALS = ...
FIRST_LETTER = ...
FINALS = ...
FINALS_TONE = ...
FINALS_TONE2 = ...
FINALS_TONE3 = ...
BOPOMOFO = ...
BOPOMOFO_FIRST = ...
CYRILLIC = ...
CYRILLIC_FIRST = ...
WADEGILES = ...
GWOYEU = ...
BRAILLE_MAINLAND_TONE = ...
BRAILLE_MAINLAND = ...
NORMAL = ... # type: Style
STYLE_NORMAL = ... # type: Style
TONE = ... # type: Style
STYLE_TONE = ... # type: Style
TONE2 = ... # type: Style
STYLE_TONE2 = ... # type: Style
TONE3 = ... # type: Style
STYLE_TONE3 = ... # type: Style
INITIALS = ... # type: Style
STYLE_INITIALS = ... # type: Style
FIRST_LETTER = ... # type: Style
STYLE_FIRST_LETTER = ... # type: Style
FINALS = ... # type: Style
STYLE_FINALS = ... # type: Style
FINALS_TONE = ... # type: Style
STYLE_FINALS_TONE = ... # type: Style
FINALS_TONE2 = ... # type: Style
STYLE_FINALS_TONE2 = ... # type: Style
FINALS_TONE3 = ... # type: Style
STYLE_FINALS_TONE3 = ... # type: Style
BOPOMOFO = ... # type: Style
STYLE_BOPOMOFO = ... # type: Style
BOPOMOFO_FIRST = ... # type: Style
STYLE_BOPOMOFO_FIRST = ... # type: Style
CYRILLIC = ... # type: Style
STYLE_CYRILLIC = ... # type: Style
CYRILLIC_FIRST = ... # type: Style
STYLE_CYRILLIC_FIRST = ... # type: Style