Closed jabowery closed 2 years ago
Hi,
I cannot reproduce your bug. I tested both with apply(phonemize)
which is using festival backend, and apply(lambda text: phonemize(text, backend='espeak'))
with 500 names (500000 is a bit huge for a single test).
The festival backend is slow, are you sure, by doing htop
that you don't see festival
processes?
Finally, it will be really really faster if you call phonemize
a single time on the whole dataset, with parallelization: df['FULL_PHONEMES'] = phonemize(df.FULLNAME.to_list(), njobs=4)
Describe the bug While executing pandas series apply of phonemize the CPU utilization is stuck at around 35% (single core) and iotop shows virtually no disk activity.
Phonemizer version phonemizer.version Out[2]: '2.2.2'
System cat /etc/debian_version 10.10
To reproduce
Then look at both top and iotop
Expected behavior Not to be bound by an invisible resource.