├── .gitignore ├── readme.md ├── requirements.txt ├── setup.py ├── test.py └── textfrontend ├── __init__.py ├── arpabet.py ├── g2pw ├── __init__.py ├── dataset.py ├── onnx_api.py └── utils.py ├── generate_lexicon.py ├── mix_frontend.py ├── normalizer ├── __init__.py ├── abbrrviation.py ├── acronyms.py ├── normalizer.py ├── numbers.py └── width.py ├── phonectic.py ├── polyphonic.yaml ├── punctuation.py ├── ssml ├── __init__.py └── xml_processor.py ├── tone_sandhi.py ├── version.py ├── vocab.py ├── zh_frontend.py └── zh_normalization ├── README.md ├── __init__.py ├── char_convert.py ├── chronology.py ├── constants.py ├── num.py ├── phonecode.py ├── quantifier.py └── text_normlization.py /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode/ 2 | __pycache__/ 3 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/readme.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pypinyin_dict 2 | g2p_en 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/setup.py -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/test.py -------------------------------------------------------------------------------- /textfrontend/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/__init__.py -------------------------------------------------------------------------------- /textfrontend/arpabet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/arpabet.py -------------------------------------------------------------------------------- /textfrontend/g2pw/__init__.py: -------------------------------------------------------------------------------- 1 | from .onnx_api import G2PWOnnxConverter 2 | -------------------------------------------------------------------------------- /textfrontend/g2pw/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/g2pw/dataset.py -------------------------------------------------------------------------------- /textfrontend/g2pw/onnx_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/g2pw/onnx_api.py -------------------------------------------------------------------------------- /textfrontend/g2pw/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/g2pw/utils.py -------------------------------------------------------------------------------- /textfrontend/generate_lexicon.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/generate_lexicon.py -------------------------------------------------------------------------------- /textfrontend/mix_frontend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/mix_frontend.py -------------------------------------------------------------------------------- /textfrontend/normalizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/__init__.py -------------------------------------------------------------------------------- /textfrontend/normalizer/abbrrviation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/abbrrviation.py -------------------------------------------------------------------------------- /textfrontend/normalizer/acronyms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/acronyms.py -------------------------------------------------------------------------------- /textfrontend/normalizer/normalizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/normalizer.py -------------------------------------------------------------------------------- /textfrontend/normalizer/numbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/numbers.py -------------------------------------------------------------------------------- /textfrontend/normalizer/width.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/normalizer/width.py -------------------------------------------------------------------------------- /textfrontend/phonectic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/phonectic.py -------------------------------------------------------------------------------- /textfrontend/polyphonic.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/polyphonic.yaml -------------------------------------------------------------------------------- /textfrontend/punctuation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/punctuation.py -------------------------------------------------------------------------------- /textfrontend/ssml/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/ssml/__init__.py -------------------------------------------------------------------------------- /textfrontend/ssml/xml_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/ssml/xml_processor.py -------------------------------------------------------------------------------- /textfrontend/tone_sandhi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/tone_sandhi.py -------------------------------------------------------------------------------- /textfrontend/version.py: -------------------------------------------------------------------------------- 1 | 2 | __version_ = '0.0.1' -------------------------------------------------------------------------------- /textfrontend/vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/vocab.py -------------------------------------------------------------------------------- /textfrontend/zh_frontend.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_frontend.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/README.md -------------------------------------------------------------------------------- /textfrontend/zh_normalization/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/__init__.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/char_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/char_convert.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/chronology.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/chronology.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/constants.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/num.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/num.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/phonecode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/phonecode.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/quantifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/quantifier.py -------------------------------------------------------------------------------- /textfrontend/zh_normalization/text_normlization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lucasjinreal/textfrontend/HEAD/textfrontend/zh_normalization/text_normlization.py --------------------------------------------------------------------------------