scriptconv 0.0.4a149__tar.gz → 0.0.4a150__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {scriptconv-0.0.4a149/scriptconv.egg-info → scriptconv-0.0.4a150}/PKG-INFO +1 -1
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/pyproject.toml +2 -1
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/espeak.py +9 -2
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/version.py +1 -1
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150/scriptconv.egg-info}/PKG-INFO +1 -1
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_shami_digit_runs.py +49 -4
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/LICENSE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/README.md +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/__main__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/cangjie.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/conventions.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/data/LICENSE.cangjie5 +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/data/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/data/cangjie5_tc.tsv.gz +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/diacritics.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/frontend.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/graph.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/notation.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_identity_cache.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_moved.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_revision.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/LICENSE.f5tts +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/LICENSE.hangul_to_ipa +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/bw2ipa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/LICENSE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/UPSTREAM.md +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/__main__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/align.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/LICENSE.cmudict +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/LICENSE.homograph-data +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/align.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/g2p.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/g2p.npz +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/homographs.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/lexicon.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/lexicon.tsv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/built/sources.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/convert.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/abbreviations.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/chat.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/endings.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/exceptions.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/function_words.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/homograph_fixes.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/homograph_rules.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/letters.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/phrases.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/data/units.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/engine.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/g2p.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/homographs.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/morphology.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/normalize.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/sentence.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/symbols.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/tables.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/f5tts.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/LICENSE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/bert-base-chinese_s2t_dict.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/bopomofo_to_pinyin_wo_tune_dict.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/char_bopomofo_dict.json +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/hangul2ipa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/aspiration.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/assimilation.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/double_coda.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/hanja.tsv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/ipa.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/neutralization.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/tensification.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/yale.csv +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/LICENSE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/LICENSE-CC-BY-4.0.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/NOTICE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/leokani_g2p.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/nakdimon/LICENSE +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/nakdimon/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/codeswitch.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/diacritize.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/dialectal.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/english_g2p.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/frontend.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/levantine_g2p.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/normalize.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/phoneme_inventory.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/vosk_g2p.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/zh_num.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_vendored/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_vendored/matoub_kab/LICENSE.md +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_vendored/matoub_kab/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/africa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ar.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/base.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ber.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/dizione.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/en.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/enums.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/eu.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/f5tts.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/fa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/g2pw.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ghana.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/gl.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/he.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ja.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ko.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/leokani.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/lir.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/mul.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/mwl.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/o2ipa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/openjtalk_engine.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/pt.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/registry.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/ru.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/shami.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/vi.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/zh.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/py.typed +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/readings.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/scripts.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/testing/__init__.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/testing/compare.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/translit.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv.egg-info/SOURCES.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv.egg-info/dependency_links.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv.egg-info/requires.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv.egg-info/top_level.txt +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/setup.cfg +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_arabic_diacritics_routing.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_arpa_stress.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_backend_table.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_byt5_lang_prefix.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_cangjie.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_charsiu_match_tags.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_cli.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_conventions.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_core_imports.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_diacritics.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_diacritics_graph.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_diacritics_nakdimon.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_diacritics_nfd_letters.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_doc_pages.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_errors_policy.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_examples.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_chunks.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_join.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_order.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_phonemizer_lang.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_say_as.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_frontend_stage_edges.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_graph.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_graph_lossless.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_gruut_lexicon_cache.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_he_extra_declares_phonikud.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_identity_cache.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_lang_default_region.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_match_lang_direction.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_match_lang_preferred_value.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_notation.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_notation_sources.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_notation_strict.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_openjtalk_engine.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_base.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_cjk_ar.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_copyleft_he_ja_th.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_dizione.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_dizione_long_tokens.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_epitran_english.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_epitran_japanese.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_epitran_korean.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_espeak_lt_accent.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_eu_euskaphone.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_f5tts.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_friendly_import_errors.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_g2pw.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_goruut_marks.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_goruut_server.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_grapheme_arguments.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_identity.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_kolokwa.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_leokani.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_marks.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_matoub_kab.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_mwl_barranquenho.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_o2i_lexicons.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_phonetisaurus.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_phonetisaurus_engine.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_pt_tugaphone.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_punctuation.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_ru.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_shami_inventory.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_readings_zh.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_scripts.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_scripts_stressonnx_compat.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_sister_packages.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_stress_marks.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_testing_compare.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_translit.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_tugaphone_identity_no_revision.py +0 -0
- {scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_wheel_licences.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scriptconv
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4a150
|
|
4
4
|
Summary: The one stop for text conversion: a zero-dependency script & phoneme-notation core — ISO-15924 detection & metadata, IPA↔ARPABET/X-SAMPA/Lexique/Kirshenbaum/Cotovía/RFE, Buckwalter↔Arabic, Hangul→jamo, kana — with phonemizer integrations behind optional extras
|
|
5
5
|
License-Expression: Apache-2.0 AND MIT AND LicenseRef-CMUdict
|
|
6
6
|
Project-URL: Homepage, https://github.com/TigreGotico/scriptconv
|
|
@@ -99,5 +99,6 @@ scriptconv = ["py.typed"]
|
|
|
99
99
|
|
|
100
100
|
[tool.pytest.ini_options]
|
|
101
101
|
testpaths = ["tests"]
|
|
102
|
-
# A test that hangs fails after this many seconds. The slowest test
|
|
102
|
+
# A test that hangs fails after this many seconds. The slowest test, 40,000 digits through espeak-ng,
|
|
103
|
+
# took 49.7 s at load average 31 to 35.
|
|
103
104
|
timeout = 150
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/espeak.py
RENAMED
|
@@ -17,6 +17,12 @@ _ESPEAK = shutil.which("espeak-ng") or shutil.which("espeak")
|
|
|
17
17
|
_PAREN = re.compile(r"\([^)]*\)")
|
|
18
18
|
_ZW = dict.fromkeys(map(ord, ""), None)
|
|
19
19
|
|
|
20
|
+
# espeak-ng time grows with the text: about 150 microseconds per UTF-8 byte at
|
|
21
|
+
# load 35 on an 8-core laptop. The allowance is four times that rate, for a box
|
|
22
|
+
# at load 50 and above. The base bounds a binary that hangs on a short text.
|
|
23
|
+
_TIMEOUT_BASE = 30
|
|
24
|
+
_TIMEOUT_PER_BYTE = 4 * 150e-6
|
|
25
|
+
|
|
20
26
|
|
|
21
27
|
def available() -> bool:
|
|
22
28
|
return _ESPEAK is not None
|
|
@@ -35,14 +41,15 @@ def phonemize(text: str, voice: str = "en-us") -> str:
|
|
|
35
41
|
return ""
|
|
36
42
|
# The text goes on stdin, because Linux refuses one argument longer than
|
|
37
43
|
# 128 KiB. Without the final newline, espeak-ng drops the end of the last word.
|
|
44
|
+
data = text + "\n"
|
|
38
45
|
proc = subprocess.run(
|
|
39
46
|
[_ESPEAK, "-v", voice, "--ipa=1", "-q", "--stdin"],
|
|
40
|
-
input=
|
|
47
|
+
input=data,
|
|
41
48
|
capture_output=True,
|
|
42
49
|
text=True,
|
|
43
50
|
encoding="utf-8",
|
|
44
51
|
errors="replace",
|
|
45
|
-
timeout=
|
|
52
|
+
timeout=_TIMEOUT_BASE + _TIMEOUT_PER_BYTE * len(data.encode("utf-8", "replace")),
|
|
46
53
|
)
|
|
47
54
|
raw = proc.stdout or ""
|
|
48
55
|
raw = _PAREN.sub(" ", raw).translate(_ZW)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scriptconv
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.4a150
|
|
4
4
|
Summary: The one stop for text conversion: a zero-dependency script & phoneme-notation core — ISO-15924 detection & metadata, IPA↔ARPABET/X-SAMPA/Lexique/Kirshenbaum/Cotovía/RFE, Buckwalter↔Arabic, Hangul→jamo, kana — with phonemizer integrations behind optional extras
|
|
5
5
|
License-Expression: Apache-2.0 AND MIT AND LicenseRef-CMUdict
|
|
6
6
|
Project-URL: Homepage, https://github.com/TigreGotico/scriptconv
|
|
@@ -109,11 +109,56 @@ def test_espeak_reads_a_text_longer_than_one_command_line_argument():
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
def test_a_long_run_in_arabic_reads_each_digit_through_espeak():
|
|
112
|
-
# Arabic text goes to espeak-ng in one piece
|
|
113
|
-
#
|
|
112
|
+
# Arabic text goes to espeak-ng in one piece. 20,000 digit words passed the
|
|
113
|
+
# argument limit, and 40,000 took longer than a fixed 30 s timeout.
|
|
114
|
+
# The digit word comes from a 16-digit run.
|
|
114
115
|
phonemizer = ShamiPhonemizer()
|
|
115
116
|
short = _words(phonemizer.phonemize("عندي " + "7" * 16, "ar")[0])
|
|
116
117
|
assert len(short) == 17 and len(set(short[1:-1])) == 1
|
|
117
|
-
long = _words(phonemizer.phonemize("عندي " + "7" *
|
|
118
|
+
long = _words(phonemizer.phonemize("عندي " + "7" * 40000, "ar")[0])
|
|
118
119
|
assert long[0] == short[0]
|
|
119
|
-
assert _unstressed(long[1:]) == _unstressed(short[1:2]) *
|
|
120
|
+
assert _unstressed(long[1:]) == _unstressed(short[1:2]) * 40000
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
# Seconds espeak-ng took on the text Shami sends for "عندي " and n digits,
|
|
124
|
+
# measured on an 8-core laptop at load 33 to 37.
|
|
125
|
+
MEASURED_SECONDS = {5000: 8.19, 10000: 12.50, 20000: 26.81}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
@pytest.fixture
|
|
129
|
+
def espeak_timeouts(monkeypatch):
|
|
130
|
+
timeouts = []
|
|
131
|
+
|
|
132
|
+
def record(cmd, **kwargs):
|
|
133
|
+
timeouts.append(kwargs["timeout"])
|
|
134
|
+
return subprocess.CompletedProcess(cmd, 0, stdout="", stderr="")
|
|
135
|
+
|
|
136
|
+
espeak.phonemize.cache_clear()
|
|
137
|
+
monkeypatch.setattr(subprocess, "run", record)
|
|
138
|
+
yield timeouts
|
|
139
|
+
espeak.phonemize.cache_clear()
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
def test_the_espeak_timeout_grows_with_the_text(espeak_timeouts):
|
|
143
|
+
# A loaded box runs espeak-ng a few times slower, so each timeout leaves
|
|
144
|
+
# four times the measured time. A short text keeps the 30 s bound.
|
|
145
|
+
phonemizer = ShamiPhonemizer()
|
|
146
|
+
phonemizer.phonemize("عندي سبعة كتب", "ar")
|
|
147
|
+
for n in MEASURED_SECONDS:
|
|
148
|
+
phonemizer.phonemize("عندي " + "7" * n, "ar")
|
|
149
|
+
assert len(espeak_timeouts) == 1 + len(MEASURED_SECONDS)
|
|
150
|
+
short, *long = espeak_timeouts
|
|
151
|
+
assert 30 <= short < 31
|
|
152
|
+
for timeout, seconds in zip(long, MEASURED_SECONDS.values()):
|
|
153
|
+
assert timeout >= 4 * seconds
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def test_a_lone_surrogate_reads_as_the_question_mark_espeak_receives():
|
|
157
|
+
# A surrogateescape read leaves a lone surrogate. subprocess writes it to
|
|
158
|
+
# espeak-ng as "?", so the timeout must count bytes the same way.
|
|
159
|
+
text, written = "مرحبا \udce9", "مرحبا ?"
|
|
160
|
+
expected = espeak.phonemize(written, voice="ar")
|
|
161
|
+
assert expected
|
|
162
|
+
assert espeak.phonemize(text, voice="ar") == expected
|
|
163
|
+
phonemizer = ShamiPhonemizer()
|
|
164
|
+
assert phonemizer.phonemize(text, "ar") == phonemizer.phonemize(written, "ar")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/LICENSE.f5tts
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/LICENSE
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/UPSTREAM.md
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/__init__.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/__main__.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/align.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/convert.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/engine.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/g2p.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/sentence.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/symbols.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/dizione/tables.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/LICENSE
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/g2pw/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/hangul2ipa.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/hanja.tsv
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/ipa.csv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/ko_tables/yale.csv
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/NOTICE
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/leokani/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/nakdimon/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/__init__.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/codeswitch.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/diacritize.py
RENAMED
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/dialectal.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/frontend.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/shami/normalize.py
RENAMED
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_thirdparty/vosk_g2p.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/scriptconv/phonemizers/_vendored/matoub_kab/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_friendly_import_errors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{scriptconv-0.0.4a149 → scriptconv-0.0.4a150}/tests/test_phonemizers_phonetisaurus_engine.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|