bootphon / phonemizer

Simple text to phones converter for multiple languages

Home Page:https://bootphon.github.io/phonemizer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maybe wrong IPA symbol for a German word "aneinander"

XuesongYang opened this issue · comments

Describe the bug
there is /1/ appearing in the phonetic transcription.

$ echo "aneinander" | phonemize -l de -b espeak --with-stress
ˌan1aɪnˈandɜ

Phonemizer version

$ phonemize --version
phonemizer-3.2.1
available backends: espeak-ng-1.50, espeak-mbrola, festival-2.5.0, segments-2.2.1

System
Your OS (Linux distribution, Windows, ...), eventually Python version.

To reproduce
A short example (Python script or command) reproducing the bug.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Hi,

This is related to espeak, not phonemizer. Here its output compared to the one of espeak-ng-1.50:

$ echo "aneinander" | phonemize -l de -b espeak --with-stress
ˌan1aɪnˈandɜ
$ echo "aneinander" | espeak-ng -qx --ipa -v de
ˌan1aɪnˈandɜ

So we have a strict equivalence. If you think this is a bug please forward it to the espeak-ng repo.