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

Phone separator sometimes adds additional separators trailing the end of a word #694

Open
RhyanJohnson opened this issue Dec 16, 2019 · 2 comments

Comments

@RhyanJohnson
Copy link

See issue initially reported here: bootphon/phonemizer#31

Note the two trailing '*' after the phonemic representation of 'lion'

$ echo "The lion and the tiger ran" | espeak-ng -x --ipa -q --sep=**
ð*ə l*aɪə*n** æ*n*d ð*ə t*aɪ*ɡ*ɚ ɹ*æ*n

Additional examples:
the hello but the gives ð*ə h*ə*l*oʊ** b*ʌ*t ð*ə
Here there and everywhere gives h*ɪɹ ð*ɛɹ** æ*n*d ɛ*v*ɹ*ɪ*w*ɛɹ
He was hungry and tired. gives h*iː w*ʌ*z h*ʌ*ŋ*ɡ*ɹ*i** æ*n*d t*aɪɚ*d
He was hungry but tired. gives h*iː w*ʌ*z h*ʌ*ŋ*ɡ*ɹ*i** b*ʌ*t t*aɪɚ*d
The tiger or the lion gives ð*ə t*aɪ*ɡ*ɚ** ɔːɹ ð*ə l*aɪə*n
The lion or the tiger gives ð*ə l*aɪə*n** ɔːɹ ð*ə t*aɪ*ɡ*ɚ

I noticed it around conjunctions like 'and', 'but, and 'or', but not always:
Lions and tigers and bears, oh my! gives l*aɪə*n*z æ*n*d t*aɪ*ɡ*ɚ*z** æ*n*d b*ɛɹ*z oʊ m*aɪ
Lions and tigers run together gives l*aɪə*n*z æ*n*d t*aɪ*ɡ*ɚ*z ɹ*ʌ*n t*ə*ɡ*ɛ*ð*ɚ

@RhyanJohnson
Copy link
Author

RhyanJohnson commented Dec 16, 2019

Also around the conjunction 'which':
He wanted to see her about a plan which he had in his head. gives h*iː w*ɑː*n*t*ᵻ*d t*ə s*iː h*ɜː*ɹ ɐ*b*aʊ*t ɐ p*l*æ*n** w*ɪ*tʃ h*iː h*ɐ*d ɪ*n h*ɪ*z h*ɛ*d

@RhyanJohnson
Copy link
Author

RhyanJohnson commented Dec 16, 2019

Single trailing separator (on phonemic 'of the'):
editions of the evening papers gives ɪ*d*ɪ*ʃ*ə*n*z ʌ*v*ð*ɪ* iː*v*n*ɪ*ŋ p*eɪ*p*ɚ*z

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

1 participant