TTS/tests
Enno Hermann 39321d02be
fix: correctly strip/restore initial punctuation ()
* refactor(punctuation): remove orphan code for handling lone punctuation

The case of lone punctuation is already handled at the top of restore(). The
removed if statement would never be called and would in fact raise an
AttributeError because the _punc_index named tuple doesn't have the attribute
`mark`.

* refactor(punctuation): remove unused argument

* fix(punctuation): correctly handle initial punctuation

Stripping and restoring initial punctuation didn't work correctly because the
string-splitting caused an additional empty string to be inserted in the text
list (because `".A".split(".")` => `["", "A"]`). Now, an initial empty string is
skipped and relevant test cases are added.

Fixes 
2023-11-30 13:03:16 +01:00
..
api_tests Run `make style` & re-enable it in CI () 2023-11-06 11:36:37 +01:00
aux_tests refactor: use save_checkpoint()/save_best_model() from Trainer 2023-11-17 01:18:23 +01:00
bash_tests Fix aux tests () 2022-07-19 10:06:31 +02:00
data Remove `/` prefix from the relative path () 2022-10-10 13:32:27 +02:00
data_tests Bump up to v0.11.0 () 2023-02-08 13:58:49 +01:00
inference_tests refactor: use save_checkpoint()/save_best_model() from Trainer 2023-11-17 01:18:23 +01:00
inputs Add XTTS training unit test 2023-10-21 13:41:12 -03:00
text_tests fix: correctly strip/restore initial punctuation () 2023-11-30 13:03:16 +01:00
tts_tests Add Delightful-TTS implementation () 2023-07-24 13:41:26 +02:00
tts_tests2 Add a dedicated workflow for XTTS tests 2023-10-24 09:52:44 -03:00
vc_tests Implement FreeVC () 2023-03-25 18:33:23 +01:00
vocoder_tests Remove duplicate AudioProcessor code and fix ExtractTTSpectrogram.ipynb () 2023-11-16 10:57:06 +01:00
xtts_tests Make style 2023-11-13 13:01:01 +01:00
zoo_tests Make style 2023-11-17 13:43:34 +01:00
__init__.py Remove `/` prefix from the relative path () 2022-10-10 13:32:27 +02:00