Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

espeak-ng version number and phone separator error #18

Closed
cainesap opened this issue Jan 4, 2019 · 2 comments
Closed

espeak-ng version number and phone separator error #18

cainesap opened this issue Jan 4, 2019 · 2 comments

Comments

@cainesap
Copy link

cainesap commented Jan 4, 2019

Bonjour Mathieu,

A couple of issues after I installed the current version of phonemizer. One is a simple fix, the other is a problem I don't understand:

1, espeak-ng is now version 1.49.3, therefore line 175 in backend.py needs to be updated.

2, I tried to use a space character as phone separator but see the following error:

echo "hello world" | phonemize -l en-us --sep=' '
fatal error: [Errno 2] No such file or directory: '--sep= '

I'm not sure why this happens so at the moment used a hack workaround in line 248, also not specifying a separator in the command line:

w = w.replace('_', ' ')

It's working as I want it to now, so this is not an urgent matter. Thanks for sharing this great resource!
Andrew

@mmmaat mmmaat closed this as completed in c5239fd Jan 4, 2019
@mmmaat
Copy link
Collaborator

mmmaat commented Jan 4, 2019

Hi Andrew, thanks for reporting!

  1. Solved
  2. You must use -p/--phone-separator, not --sep:
$ echo "hello world" | phonemize -l en-us -p ' ' -w ''
h ə l oʊ w ɜː l d 

Best,
Mathieu

@cainesap
Copy link
Author

cainesap commented Jan 4, 2019

1, Great, thanks Mathieu!
2, sorry, I did mean that I used p ' ', ah but I see, I must use -w '' as well (i.e. i should read the error message :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants