scriptconv-copyleft 0.5.1a1__tar.gz → 0.6.0a1__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.
Files changed (91) hide show
  1. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/PKG-INFO +9 -5
  2. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/README.md +2 -2
  3. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/pyproject.toml +7 -2
  4. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/LICENSE +202 -0
  5. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/NOTICE +20 -0
  6. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/__init__.py +0 -0
  7. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/bilingual.py +226 -0
  8. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE +27 -0
  9. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE.ruaccent +7 -0
  10. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/caps_words.json.gz +0 -0
  11. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/homograph_defaults.json.gz +0 -0
  12. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/homograph_model.json.gz +0 -0
  13. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/pronunciations.json.gz +0 -0
  14. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/stress_forms.json.gz +0 -0
  15. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/stress_variants.json.gz +0 -0
  16. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/yo_words.json.gz +0 -0
  17. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/text.py +725 -0
  18. scriptconv_copyleft-0.6.0a1/scriptconv_copyleft/phonemizers/tiny_vanya.py +99 -0
  19. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/version.py +2 -2
  20. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft.egg-info/PKG-INFO +9 -5
  21. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft.egg-info/SOURCES.txt +16 -0
  22. scriptconv_copyleft-0.6.0a1/tests/test_tiny_vanya.py +83 -0
  23. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/LICENSE +0 -0
  24. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/__init__.py +0 -0
  25. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/__init__.py +0 -0
  26. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/__init__.py +0 -0
  27. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/kog2p/COPYING +0 -0
  28. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/kog2p/LICENSE.md +0 -0
  29. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/kog2p/__init__.py +0 -0
  30. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/kog2p/rulebook.txt +0 -0
  31. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/LICENSE +0 -0
  32. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/MODEL_LICENSE.md +0 -0
  33. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/NOTICE +0 -0
  34. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/__init__.py +0 -0
  35. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/codemix.py +0 -0
  36. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/data/LICENSE +0 -0
  37. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/data/en_fast_lexicon.json.gz +0 -0
  38. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/data/ne_heteronyms.tsv.gz +0 -0
  39. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/data/ne_lexicon.tsv.gz +0 -0
  40. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/frontend.py +0 -0
  41. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/inventory.py +0 -0
  42. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/pawp/nepali_rules.py +0 -0
  43. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/COPYING +0 -0
  44. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/LICENSE +0 -0
  45. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/SOURCE +0 -0
  46. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/lt_kirciai.tsv +0 -0
  47. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/lt_kreipiniai.tsv +0 -0
  48. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/_vendored/reginute/lt_raides.tsv +0 -0
  49. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/eu.py +0 -0
  50. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/fa.py +0 -0
  51. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/gl.py +0 -0
  52. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/he.py +0 -0
  53. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/ja.py +0 -0
  54. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/ja_prosody.py +0 -0
  55. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/ko.py +0 -0
  56. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/lt.py +0 -0
  57. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/mul.py +0 -0
  58. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/pawp.py +0 -0
  59. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/phonemizers/th.py +0 -0
  60. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft/readings.py +0 -0
  61. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft.egg-info/dependency_links.txt +0 -0
  62. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft.egg-info/requires.txt +0 -0
  63. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/scriptconv_copyleft.egg-info/top_level.txt +0 -0
  64. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/setup.cfg +0 -0
  65. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_docs_examples.py +0 -0
  66. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_acute_stress.py +0 -0
  67. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_french_english_switch.py +0 -0
  68. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_get_lang_case.py +0 -0
  69. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_long_line.py +0 -0
  70. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_lt_accent.py +0 -0
  71. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_espeak_nul_byte.py +0 -0
  72. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_g2pfa_eraab.py +0 -0
  73. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_hebrew_ipa.py +0 -0
  74. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_lang_default_region.py +0 -0
  75. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_match_lang_direction.py +0 -0
  76. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_match_lang_preferred_value.py +0 -0
  77. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_misaki_en_alphabet.py +0 -0
  78. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_misaki_ja_reader.py +0 -0
  79. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_misaki_vi.py +0 -0
  80. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_misaki_zh_zero.py +0 -0
  81. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_openjtalk_prosody.py +0 -0
  82. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_pawp.py +0 -0
  83. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_base.py +0 -0
  84. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_cjk_ar.py +0 -0
  85. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_friendly_import_errors.py +0 -0
  86. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_identity.py +0 -0
  87. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_misaki_british.py +0 -0
  88. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_phonemizers_punctuation.py +0 -0
  89. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_readings.py +0 -0
  90. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_tltk.py +0 -0
  91. {scriptconv_copyleft-0.5.1a1 → scriptconv_copyleft-0.6.0a1}/tests/test_transphone_extra_declares_auto_installs.py +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scriptconv-copyleft
3
- Version: 0.5.1a1
3
+ Version: 0.6.0a1
4
4
  Summary: scriptconv phonemizer backends whose code or dependencies are copyleft (GPL, LGPL, AGPL)
5
5
  Author-email: TigreGotico <contact@tigregotico.com>
6
- License-Expression: Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0
6
+ License-Expression: Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0 AND MIT
7
7
  Project-URL: Homepage, https://github.com/TigreGotico/scriptconv-copyleft
8
8
  Project-URL: Repository, https://github.com/TigreGotico/scriptconv-copyleft
9
9
  Project-URL: Issues, https://github.com/TigreGotico/scriptconv-copyleft/issues
10
- Keywords: g2p,phonemizer,tts,scriptconv,espeak,cotovia,ahotts,kog2p,misaki,transphone,lithuanian,hebrew,openjtalk,tltk,thai,pawp,nepali
10
+ Keywords: g2p,phonemizer,tts,scriptconv,espeak,cotovia,ahotts,kog2p,misaki,transphone,lithuanian,hebrew,openjtalk,tltk,thai,pawp,nepali,tiny-vanya,russian
11
11
  Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Intended Audience :: Science/Research
@@ -27,6 +27,10 @@ License-File: scriptconv_copyleft/phonemizers/_vendored/pawp/LICENSE
27
27
  License-File: scriptconv_copyleft/phonemizers/_vendored/pawp/NOTICE
28
28
  License-File: scriptconv_copyleft/phonemizers/_vendored/pawp/MODEL_LICENSE.md
29
29
  License-File: scriptconv_copyleft/phonemizers/_vendored/pawp/data/LICENSE
30
+ License-File: scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/LICENSE
31
+ License-File: scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/NOTICE
32
+ License-File: scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE
33
+ License-File: scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE.ruaccent
30
34
  Requires-Dist: scriptconv[phonemizers]>=0.0.4a193
31
35
  Provides-Extra: espeak
32
36
  Requires-Dist: espyak; extra == "espeak"
@@ -132,12 +136,12 @@ through the install, the alphabets and the engine identity.
132
136
  ## Backends
133
137
 
134
138
  The package holds the `espeak`, `transphone`, `misaki`, `cotovia`, `ahotts`,
135
- `hebrew_ipa`, `tltk`, `pawp`, `g2pfa`, `pykakasi`, `openjtalk_prosody`, `g2pk`
139
+ `hebrew_ipa`, `tltk`, `pawp`, Tiny Vanya, `g2pfa`, `pykakasi`, `openjtalk_prosody`, `g2pk`
136
140
  and `kog2p` backends, and the Japanese kanji-to-kana readings.
137
141
 
138
142
  ## Licence
139
143
 
140
- The package is `Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0`.
144
+ The package is `Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0 AND MIT`.
141
145
  Its own glue code is Apache-2.0. The vendored KoG2P code and the code and data
142
146
  from Reginutė are GPL-3.0-only, and the modules ported from Piper are
143
147
  GPL-3.0-or-later. The other backends are here because of a dependency, for
@@ -34,12 +34,12 @@ through the install, the alphabets and the engine identity.
34
34
  ## Backends
35
35
 
36
36
  The package holds the `espeak`, `transphone`, `misaki`, `cotovia`, `ahotts`,
37
- `hebrew_ipa`, `tltk`, `pawp`, `g2pfa`, `pykakasi`, `openjtalk_prosody`, `g2pk`
37
+ `hebrew_ipa`, `tltk`, `pawp`, Tiny Vanya, `g2pfa`, `pykakasi`, `openjtalk_prosody`, `g2pk`
38
38
  and `kog2p` backends, and the Japanese kanji-to-kana readings.
39
39
 
40
40
  ## Licence
41
41
 
42
- The package is `Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0`.
42
+ The package is `Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0 AND MIT`.
43
43
  Its own glue code is Apache-2.0. The vendored KoG2P code and the code and data
44
44
  from Reginutė are GPL-3.0-only, and the modules ported from Piper are
45
45
  GPL-3.0-or-later. The other backends are here because of a dependency, for
@@ -8,7 +8,7 @@ dynamic = ["version"]
8
8
  description = "scriptconv phonemizer backends whose code or dependencies are copyleft (GPL, LGPL, AGPL)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
11
- license = "Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0"
11
+ license = "Apache-2.0 AND GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-4.0 AND MIT"
12
12
  license-files = [
13
13
  "LICENSE",
14
14
  "scriptconv_copyleft/phonemizers/_vendored/kog2p/LICENSE.md",
@@ -19,12 +19,16 @@ license-files = [
19
19
  "scriptconv_copyleft/phonemizers/_vendored/pawp/NOTICE",
20
20
  "scriptconv_copyleft/phonemizers/_vendored/pawp/MODEL_LICENSE.md",
21
21
  "scriptconv_copyleft/phonemizers/_vendored/pawp/data/LICENSE",
22
+ "scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/LICENSE",
23
+ "scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/NOTICE",
24
+ "scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE",
25
+ "scriptconv_copyleft/phonemizers/_vendored/tiny_vanya/data/LICENSE.ruaccent",
22
26
  ]
23
27
  dependencies = ["scriptconv[phonemizers]>=0.0.4a193"]
24
28
  authors = [
25
29
  { name = "TigreGotico", email = "contact@tigregotico.com" }
26
30
  ]
27
- keywords = ["g2p", "phonemizer", "tts", "scriptconv", "espeak", "cotovia", "ahotts", "kog2p", "misaki", "transphone", "lithuanian", "hebrew", "openjtalk", "tltk", "thai", "pawp", "nepali"]
31
+ keywords = ["g2p", "phonemizer", "tts", "scriptconv", "espeak", "cotovia", "ahotts", "kog2p", "misaki", "transphone", "lithuanian", "hebrew", "openjtalk", "tltk", "thai", "pawp", "nepali", "tiny-vanya", "russian"]
28
32
  classifiers = [
29
33
  "Development Status :: 3 - Alpha",
30
34
  "Intended Audience :: Developers",
@@ -64,6 +68,7 @@ version = {attr = "scriptconv_copyleft.version.__version__"}
64
68
  "scriptconv_copyleft.phonemizers._vendored.kog2p" = ["rulebook.txt", "LICENSE.md", "COPYING"]
65
69
  "scriptconv_copyleft.phonemizers._vendored" = ["reginute/*"]
66
70
  "scriptconv_copyleft.phonemizers._vendored.pawp" = ["LICENSE", "NOTICE", "MODEL_LICENSE.md", "data/*"]
71
+ "scriptconv_copyleft.phonemizers._vendored.tiny_vanya" = ["LICENSE", "NOTICE", "data/*"]
67
72
 
68
73
  [tool.pytest.ini_options]
69
74
  testpaths = ["tests"]
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,20 @@
1
+ Tiny Vanya is derived from tiny-voca by Muhammed Nazeem, Apache License 2.0.
2
+ Upstream: https://github.com/n4ze3m/tiny-voca
3
+ Revision: b510350aaf6839aca2f2a413223fab2ac973332c
4
+
5
+ The acoustic network, source-filter synthesis, losses, training loop and ONNX
6
+ export are derived from the referenced revision. This fork changes the
7
+ package name, language, phoneme inventory, data recipe and evaluation. The
8
+ eSpeak NG runtime is a separate dependency under its own license.
9
+
10
+ Fiato by Caleb Fahlgren (https://huggingface.co/cfahlgren1/fiato) was studied
11
+ as a second recipe. No Fiato code, data or weights are included.
12
+
13
+ Since v0.4 the Python package bundles dizione (https://github.com/n4ze3m/dizione,
14
+ commit 8cd889e4de7be6bd1dd2e6891344a0729fa14dd4, Apache License 2.0) as a
15
+ dependency and its built data (tiny-voca revision 5fe06641) under
16
+ tiny_vanya/dizione_data, with LICENSE.cmudict and LICENSE.homograph-data.
17
+ Homograph stress labels were made with RUAccent (https://github.com/Den4ikAI/ruaccent).
18
+ Since v0.4.11 tiny_vanya/yo_words.json (words always written with ё) is taken from
19
+ RUAccent's yo_words (https://huggingface.co/ruaccent/accentuator, MIT License),
20
+ without the words the stress dictionary already covers.
@@ -0,0 +1,226 @@
1
+ """Compose the Russian front end with dizione for English runs: ``espeak-ru-dizione-v1``.
2
+
3
+ From tiny_vanya/bilingual.py of Tiny Vanya 0.4.11 (huggingface.co/region23/tiny-vanya,
4
+ revision 7addfd545a8c4f17204cdf704f64538ededd68fa), Apache-2.0. Changes: dizione is the
5
+ copy in scriptconv (:mod:`scriptconv.phonemizers.dizione`), whose built data is the same
6
+ as the ``dizione_data`` of Tiny Vanya; the identity and override hooks are not kept.
7
+ """
8
+
9
+ from dataclasses import replace
10
+ from functools import lru_cache
11
+ import gzip
12
+ import json
13
+ from pathlib import Path
14
+ import re
15
+ from threading import Lock
16
+ import warnings
17
+
18
+ from .text import (BILINGUAL_PHONE_SET, BILINGUAL_SYMBOL_TO_ID, BOS, EOS, SP, UNK, NothingToPronounce, Phonemized,
19
+ _phonemize_v2, _v2_merge_accents, chunks, normalize_text, FALLBACK, SEPARATOR, _FLAG, _SPEAKABLE, _STRESS)
20
+
21
+
22
+ # A full stop right after a Latin word stays with it, so dizione reads "vs.", "etc.", "Mr." and "e.g." as words and
23
+ # decides itself whether the stop ends a sentence (28.11: «Plants vs. Zombies» was read «ви эс» with a pause).
24
+ _LATIN_WORD = r"[A-Za-z]+[0-9]*(?:['/.-][A-Za-z0-9]+)*\.?"
25
+ _ENGLISH_RUN = re.compile(rf"(\^?{_LATIN_WORD}(?:\s+\^?{_LATIN_WORD})*)")
26
+ _CYRILLIC = re.compile(r"[а-яё]", re.I)
27
+ _RUSSIAN_TEXT = re.compile(r"[а-яё0-9]", re.I)
28
+ _SPOKEN = BILINGUAL_PHONE_SET | {UNK}
29
+ _LOCK = Lock()
30
+
31
+
32
+ class _EspeakEnglish:
33
+ """English runs through espyak en-us when dizione cannot load (it needs numpy).
34
+
35
+ Tiny Vanya has no such path. A phone outside the model symbols takes the
36
+ Tiny Vanya fallback or the nearest Russian phones (``_SPEAKABLE``), else ``<unk>``.
37
+ """
38
+
39
+ def __init__(self):
40
+ from espyak import G2P
41
+ self._g2p = G2P("en-us")
42
+
43
+ def _word(self, raw):
44
+ out = []
45
+ for unit in raw.split(SEPARATOR):
46
+ level = next((_STRESS[c] for c in unit if c in _STRESS), 0)
47
+ phone = "".join(c for c in unit if c not in _STRESS)
48
+ if not phone:
49
+ continue
50
+ mapped = (phone,) if phone in BILINGUAL_PHONE_SET else FALLBACK.get(phone) or _SPEAKABLE.get(phone) or (phone,)
51
+ out.extend((p, level if i == 0 else 0) for i, p in enumerate(mapped))
52
+ return out
53
+
54
+ def pieces(self, text):
55
+ for punct, piece in chunks(text):
56
+ if punct:
57
+ yield True, piece
58
+ else:
59
+ raw = _FLAG.sub("", self._g2p.phonemize(piece, separator=SEPARATOR))
60
+ yield False, [self._word(word) for word in raw.split()]
61
+
62
+
63
+ @lru_cache(maxsize=1)
64
+ def _english_backend():
65
+ try:
66
+ from scriptconv.phonemizers.dizione import DATA_DIR, DizioneEngine
67
+ except ImportError as error:
68
+ warnings.warn(f"dizione cannot load ({error}); English words are read by espyak en-us, "
69
+ "which differs from the Tiny Vanya front end", stacklevel=2)
70
+ return _EspeakEnglish()
71
+ return DizioneEngine(DATA_DIR, join_phrases=False)
72
+
73
+
74
+ def _english(text):
75
+ before, marker, after = text.partition("^")
76
+ with _LOCK:
77
+ engine = _english_backend()
78
+ pieces = list(engine.pieces((before + after).replace("^", "")))
79
+ focus = 0
80
+ if marker and before.strip():
81
+ focus = sum(len(words) for punct, words in engine.pieces(before) if not punct)
82
+ symbols, stress, words, unknown = [BOS], [0], [], []
83
+ for punct, piece in pieces:
84
+ if punct:
85
+ if symbols[-1] != piece:
86
+ symbols.append(piece)
87
+ stress.append(0)
88
+ continue
89
+ for word in piece:
90
+ if symbols[-1] in _SPOKEN:
91
+ symbols.append(SP)
92
+ stress.append(0)
93
+ start = len(symbols)
94
+ for phone, level in word:
95
+ if phone not in BILINGUAL_PHONE_SET:
96
+ unknown.append(phone)
97
+ phone, level = UNK, 0
98
+ symbols.append(phone)
99
+ stress.append(level)
100
+ if start < len(symbols):
101
+ words.append((start, len(symbols)))
102
+ if not words:
103
+ raise NothingToPronounce("фонемизатор не нашёл произносимых слов")
104
+ return _result(symbols, stress, words, unknown, focus if marker and focus < len(words) else None)
105
+
106
+
107
+ def _result(symbols, stress, words, unknown, focus):
108
+ symbols.append(EOS)
109
+ stress.append(0)
110
+ return Phonemized(tuple(symbols), tuple(BILINGUAL_SYMBOL_TO_ID[s] for s in symbols), tuple(stress),
111
+ tuple(unknown), tuple(words), focus)
112
+
113
+
114
+ # Latin letters as a Russian speaker names them inside a Russian sentence (user, 27.11: «эй пи ай», «си ай си ди»).
115
+ LETTER_NAMES = {"A": "эй", "B": "би", "C": "си", "D": "ди", "E": "и", "F": "эф", "G": "джи", "H": "эйч", "I": "ай",
116
+ "J": "джей", "K": "кей", "L": "эл", "M": "эм", "N": "эн", "O": "оу", "P": "пи", "Q": "кью", "R": "ар",
117
+ "S": "эс", "T": "ти", "U": "ю", "V": "ви", "W": "дабл-ю", "X": "экс", "Y": "уай", "Z": "зед"}
118
+ _ACRONYM = re.compile(r"(?<![A-Za-z0-9])[A-Z]{2,6}(?:/[A-Z]{2,6})*(?![A-Za-z0-9])")
119
+
120
+
121
+ _ROMAN = re.compile(r"^M{0,3}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$")
122
+ _ROMAN_VALUE = {"M": 1000, "D": 500, "C": 100, "L": 50, "X": 10, "V": 5, "I": 1}
123
+
124
+
125
+ def _roman(token):
126
+ if not token or not _ROMAN.match(token):
127
+ return None
128
+ total = 0
129
+ for a, b in zip(token, token[1:] + " "):
130
+ value = _ROMAN_VALUE[a]
131
+ total += -value if b != " " and _ROMAN_VALUE[b] > value else value
132
+ return total
133
+
134
+
135
+ _CAPS_WORDS = None
136
+
137
+
138
+ def _caps_words():
139
+ """All-caps tokens of 4-6 letters read as English words at synthesis (ATLAS, UNIX): caps_words.json from
140
+ artifacts/acronyms/build.py (single-stress words of the dizione lexicon)."""
141
+ global _CAPS_WORDS
142
+ if _CAPS_WORDS is None:
143
+ with gzip.open(Path(__file__).with_name("data") / "caps_words.json.gz", "rt", encoding="utf-8") as f:
144
+ _CAPS_WORDS = frozenset(json.load(f))
145
+ return _CAPS_WORDS
146
+
147
+
148
+ def russian_letter_names(text, words=False):
149
+ """In a sentence with Cyrillic, a Roman numeral becomes digits (XIX → 19) and an all-caps Latin acronym (API,
150
+ CI/CD, USB) becomes its Russian letter names (эй пи ай, си ай си ди, ю эс би); a sentence without Cyrillic is
151
+ left alone, so English text keeps English letter names. The teacher prompt, the annotation and synthesis all read it this way.
152
+ With ``words`` (synthesis, 29.11) a 4-6 letter token the English lexicon reads as a word stays a word (FCS ATLAS)."""
153
+ if not _CYRILLIC.search(text):
154
+ return text
155
+ # A Roman numeral (XIX век, Пьер II) is a number in Russian; eSpeak then reads its digits as a word.
156
+ # Only I, V, X, L: centuries and regnal numbers use them, while CD, CI, MD and the like are acronyms.
157
+ text = re.sub(r"(?<![A-Za-z0-9/])[IVXL]+(?![A-Za-z0-9/])", lambda m: str(_roman(m[0])) if _roman(m[0]) else m[0], text)
158
+ caps = _caps_words() if words else ()
159
+
160
+ def spell(m):
161
+ if len(m[0]) >= 4 and m[0].lower() in caps:
162
+ return m[0].lower()
163
+ return " ".join(LETTER_NAMES[ch] for ch in m[0] if ch != "/")
164
+ return _ACRONYM.sub(spell, text)
165
+
166
+
167
+ # A one-letter preposition right before an English word ends its Russian piece, and eSpeak alone would read it as
168
+ # a letter name («в Windows» → «вэ»); it is the bare consonant of the following word.
169
+ _CLITICS = {"в": ("v",), "к": ("k",), "с": ("s",)}
170
+
171
+
172
+ def _clitic_before_english(part, result):
173
+ words = re.findall(r"[а-яё]+", part.lower())
174
+ if not words or words[-1] not in _CLITICS or not part.rstrip().lower().endswith(words[-1]) or not result.words:
175
+ return result
176
+ start, end = result.words[-1]
177
+ symbols = result.symbols[:start] + _CLITICS[words[-1]] + result.symbols[end:]
178
+ stress = result.stress[:start] + (0,) + result.stress[end:]
179
+ spans = result.words[:-1] + ((start, start + 1),)
180
+ return Phonemized(symbols, tuple(BILINGUAL_SYMBOL_TO_ID[x] for x in symbols), stress, result.unknown, spans, result.focus)
181
+
182
+
183
+ def phonemize_bilingual(text, accent_text, pronunciations):
184
+ text = russian_letter_names(re.sub(r"\^\s+", "^", text), words=accent_text is None)
185
+ if accent_text is not None:
186
+ accent_text = russian_letter_names(accent_text)
187
+ if not _ENGLISH_RUN.search(text):
188
+ return _phonemize_v2(text, accent_text, pronunciations)
189
+ marked = normalize_text(text)
190
+ if accent_text is not None:
191
+ marked = _v2_merge_accents(marked, normalize_text(accent_text)).replace("^", "")
192
+ else:
193
+ marked = re.sub(r"\^\s+", "^", marked)
194
+ if not _CYRILLIC.search(marked):
195
+ return _english(marked)
196
+
197
+ symbols, stress, words, unknown, focus = [BOS], [0], [], [], None
198
+ parts = _ENGLISH_RUN.split(marked)
199
+ for index, part in enumerate(parts):
200
+ if index % 2:
201
+ result = _english(part)
202
+ # "Apple Inc. и ...": an abbreviation's stop is no sentence end when the sentence goes on in small letters.
203
+ if (part.endswith(".") and result.symbols[-2] == "." and index + 1 < len(parts)
204
+ and re.match(r"\s*[а-яёa-z0-9]", parts[index + 1])):
205
+ result = replace(result, symbols=result.symbols[:-2] + result.symbols[-1:], stress=result.stress[:-2] + result.stress[-1:],
206
+ ids=result.ids[:-2] + result.ids[-1:])
207
+ elif _RUSSIAN_TEXT.search(part):
208
+ result = _phonemize_v2(part, part if accent_text is not None else None, pronunciations)
209
+ result = _clitic_before_english(part, result)
210
+ else:
211
+ for punct, symbol in chunks(part):
212
+ if punct and symbols[-1] != symbol:
213
+ symbols.append(symbol)
214
+ stress.append(0)
215
+ continue
216
+ if symbols[-1] in _SPOKEN and result.symbols[1] in _SPOKEN:
217
+ symbols.append(SP)
218
+ stress.append(0)
219
+ shift = len(symbols) - 1 # Each part carries its own BOS and EOS.
220
+ symbols.extend(result.symbols[1:-1])
221
+ stress.extend(result.stress[1:-1])
222
+ unknown.extend(result.unknown)
223
+ if focus is None and result.focus is not None:
224
+ focus = len(words) + result.focus
225
+ words.extend((start + shift, end + shift) for start, end in result.words)
226
+ return _result(symbols, stress, words, unknown, focus)
@@ -0,0 +1,27 @@
1
+ The data in this directory comes from Tiny Vanya 0.4.11 by region23,
2
+ https://huggingface.co/region23/tiny-vanya at revision
3
+ 7addfd545a8c4f17204cdf704f64538ededd68fa. Each file is gzip-compressed JSON.
4
+
5
+ pronunciations.json.gz
6
+ Source: the "defaults" and "variants" of "pronunciations" in onnx/m1.json
7
+ (44,745 defaults, 47,990 variants). The other keys are not kept.
8
+ Licence: the entries are eSpeak NG ru output (eSpeak NG 1.52.0), which is
9
+ GPL-3.0-or-later. This package distributes the file under GPL-3.0-or-later.
10
+
11
+ stress_forms.json.gz, stress_variants.json.gz
12
+ Source: tiny_vanya/stress_forms.json and tiny_vanya/stress_variants.json of
13
+ the wheel code/tiny_vanya-0.4.11-py3-none-any.whl, unchanged.
14
+ Licence: the entries are eSpeak NG ru output. This package distributes the
15
+ files under GPL-3.0-or-later.
16
+
17
+ homograph_model.json.gz, homograph_defaults.json.gz, caps_words.json.gz
18
+ Source: the files of the same name in tiny_vanya/ of the wheel, unchanged.
19
+ Licence: Apache-2.0 (LICENSE and NOTICE in the parent directory).
20
+
21
+ yo_words.json.gz
22
+ Source: tiny_vanya/yo_words.json of the wheel, unchanged. Tiny Vanya takes
23
+ it from RUAccent's yo_words (https://huggingface.co/ruaccent/accentuator).
24
+ Licence: MIT, Copyright 2026 Denis Petrov. The licence text is LICENSE.ruaccent
25
+ in this directory, from github.com/Den4ikAI/ruaccent.
26
+
27
+ Credit: region23. Tiny Vanya (2026). https://huggingface.co/region23/tiny-vanya
@@ -0,0 +1,7 @@
1
+ Copyright 2026 Denis Petrov
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.