phoonnx 0.0.0__py3-none-any.whl → 0.0.1a1__py3-none-any.whl

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.
phoonnx/util.py CHANGED
@@ -257,9 +257,9 @@ UNITS = {
257
257
  "en": {
258
258
  "€": "euros",
259
259
  "%": "per cent",
260
- "ºC": "degrees celsius",
261
- "ºF": "degrees fahrenheit",
262
- "ºK": "degrees kelvin",
260
+ "°C": "degrees celsius",
261
+ "°F": "degrees fahrenheit",
262
+ "°K": "degrees kelvin",
263
263
  "°": "degrees",
264
264
  "$": "dollars",
265
265
  "£": "pounds",
@@ -287,9 +287,9 @@ UNITS = {
287
287
  "pt": {
288
288
  "€": "euros",
289
289
  "%": "por cento",
290
- "ºC": "graus celsius",
291
- "ºF": "graus fahrenheit",
292
- "ºK": "graus kelvin",
290
+ "°C": "graus celsius",
291
+ "°F": "graus fahrenheit",
292
+ "°K": "graus kelvin",
293
293
  "°": "graus",
294
294
  "$": "dólares",
295
295
  "£": "libras",
@@ -308,9 +308,9 @@ UNITS = {
308
308
  "es": {
309
309
  "€": "euros",
310
310
  "%": "por ciento",
311
- "ºC": "grados celsius",
312
- "ºF": "grados fahrenheit",
313
- "ºK": "grados kelvin",
311
+ "°C": "grados celsius",
312
+ "°F": "grados fahrenheit",
313
+ "°K": "grados kelvin",
314
314
  "°": "grados",
315
315
  "$": "dólares",
316
316
  "£": "libras",
@@ -325,9 +325,9 @@ UNITS = {
325
325
  "fr": {
326
326
  "€": "euros",
327
327
  "%": "pour cent",
328
- "ºC": "degrés celsius",
329
- "ºF": "degrés fahrenheit",
330
- "ºK": "degrés kelvin",
328
+ "°C": "degrés celsius",
329
+ "°F": "degrés fahrenheit",
330
+ "°K": "degrés kelvin",
331
331
  "°": "degrés",
332
332
  "$": "dollars",
333
333
  "£": "livres",
@@ -342,9 +342,9 @@ UNITS = {
342
342
  "de": {
343
343
  "€": "Euro",
344
344
  "%": "Prozent",
345
- "ºC": "Grad Celsius",
346
- "ºF": "Grad Fahrenheit",
347
- "ºK": "Grad Kelvin",
345
+ "°C": "Grad Celsius",
346
+ "°F": "Grad Fahrenheit",
347
+ "°K": "Grad Kelvin",
348
348
  "°": "Grad",
349
349
  "$": "Dollar",
350
350
  "£": "Pfund",
@@ -548,6 +548,7 @@ def _normalize_units(text: str, full_lang: str) -> str:
548
548
  This function handles symbolic and alphanumeric units separately
549
549
  to avoid issues with word boundaries.
550
550
  """
551
+ text = text.replace("º", "°") # these characters look the same... but...
551
552
  lang_code = full_lang.split("-")[0]
552
553
  if lang_code in UNITS:
553
554
  # Determine number separators for the language
phoonnx/version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # START_VERSION_BLOCK
2
2
  VERSION_MAJOR = 0
3
3
  VERSION_MINOR = 0
4
- VERSION_BUILD = 0
5
- VERSION_ALPHA = 0
4
+ VERSION_BUILD = 1
5
+ VERSION_ALPHA = 1
6
6
  # END_VERSION_BLOCK
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phoonnx
3
- Version: 0.0.0
3
+ Version: 0.0.1a1
4
4
  Home-page: https://github.com/TigreGotico/phoonnx
5
5
  Author: JarbasAi
6
6
  Author-email: jarbasai@mailfence.com
@@ -1,8 +1,8 @@
1
1
  phoonnx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  phoonnx/config.py,sha256=bO7dx2tfLotkohict3UKlCEVm-BRFB1feYYR1HarUkk,19382
3
3
  phoonnx/phoneme_ids.py,sha256=FiNgZwV6naEsBh6XwFLh3_FyOgPiCsK9qo7S0v-CmI4,13667
4
- phoonnx/util.py,sha256=3DqSRwsF498oP_uFVZnriP9PyjXhCfEy97Ey0ePTEqA,25042
5
- phoonnx/version.py,sha256=peYHqopxd1W3l3PTIN2GzerAUX8Su-_tfbPZbZ4og3o,114
4
+ phoonnx/util.py,sha256=B2PmkxQ14BJvcM7SmyZtRu04oxuA8pfVTqPlP2PpuTM,25121
5
+ phoonnx/version.py,sha256=bNAgeuunrAuqqTHQ6aL8PuYgpU_pmqDADvHLxvFez88,114
6
6
  phoonnx/voice.py,sha256=FR_LafK1vSi_anPERJjZBuH3Bb9vUIof0MAW6TnALlA,20024
7
7
  phoonnx/locale/ca/phonetic_spellings.txt,sha256=igv3t7jxLSRE5GHsdn57HOpxiWNcEmECPql6m02wbO0,47
8
8
  phoonnx/locale/en/phonetic_spellings.txt,sha256=xGQlWOABLzbttpQvopl9CU-NnwEJRqKx8iuylsdUoQA,27
@@ -80,7 +80,7 @@ phoonnx_train/vits/utils.py,sha256=exiyrtPHbnnGvcHWSbaH9-gR6srH5ZPHlKiqV2IHUrQ,4
80
80
  phoonnx_train/vits/wavfile.py,sha256=oQZiTIrdw0oLTbcVwKfGXye1WtKte6qK_52qVwiMvfc,26396
81
81
  phoonnx_train/vits/monotonic_align/__init__.py,sha256=5IdAOD1Z7UloMb6d_9NRFsXoNIjEQ3h9mvOSh_AtO3k,636
82
82
  phoonnx_train/vits/monotonic_align/setup.py,sha256=0K5iJJ2mKIklx6ncEfCQS34skm5hHPiz9vRlQEvevvY,266
83
- phoonnx-0.0.0.dist-info/METADATA,sha256=403yc0XWgga5G22oBJb9xTb2kEfYVKRcI1O7rCnYOls,7866
84
- phoonnx-0.0.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
85
- phoonnx-0.0.0.dist-info/top_level.txt,sha256=ZrnHXe-4HqbOSX6fbdY-JiP7YEu2Bok9T0ji351MrmM,22
86
- phoonnx-0.0.0.dist-info/RECORD,,
83
+ phoonnx-0.0.1a1.dist-info/METADATA,sha256=7ehavgd7HvRVp-U_k7Wqxewd58bwuriswuM0bDAh9bU,7868
84
+ phoonnx-0.0.1a1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
85
+ phoonnx-0.0.1a1.dist-info/top_level.txt,sha256=ZrnHXe-4HqbOSX6fbdY-JiP7YEu2Bok9T0ji351MrmM,22
86
+ phoonnx-0.0.1a1.dist-info/RECORD,,