Describe the bug
It seems that instantiation of multiple EspeakBackend objects is not correctly handled.
All the objects start operating with the language used to instantiate the last object.
Please refer to the example below.
Phonemizer version
3.0.1
System
macOS 11.6.4
python 3.8.9
[Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Describe the bug It seems that instantiation of multiple
EspeakBackend
objects is not correctly handled. All the objects start operating with the language used to instantiate the last object. Please refer to the example below.Phonemizer version 3.0.1
System macOS 11.6.4 python 3.8.9 [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
To reproduce
Expected behavior Notice that
incorrect_en
is equal toen_with_de
and not equal toen_sentence
.Additional context This problem happens only with
njobs=1
and doesn't appear withnjobs>1