whisper-writer icon indicating copy to clipboard operation
whisper-writer copied to clipboard

Doesn't seem to support German special characters (Umlaute) like ä, ü, ö, ß

Open RaffCode-Personal opened this issue 1 year ago • 4 comments

I attached a voice recording that should transcribe to "Es wäre schön, wenn das Programm auch Umlaute unterstützen würde."

https://www.dropbox.com/scl/fi/5jez2tuqyjzxxpemtmz12/Umlaute.mp3?rlkey=mure8ckqmc801dgmfsox6f9bq&dl=0

Instead the output is this: "Es wre schn, wenn das Programm auch Umlaute untersttzen wrde."

RaffCode-Personal avatar Jan 19 '24 09:01 RaffCode-Personal

I forked it and did some rework. Umlaute work for me. Maybe it is because I changed something with keyboard input? https://github.com/thfrei/whisper-writer

thfrei avatar Jan 22 '24 18:01 thfrei

Transcription: an jemandem Maß nehmen.

an jemandem MaS nehmen.

Transcription: Kopf bis Fuß.

Kopf bis FuS.

Ok, "scharf-S" funktioniert noch nicht.

Edit: ß funktioniert bei mir nicht, weil ich Schweizer Tastaturlayout verwende und gar keine Taste für ß habe. Mit Deutschem Tastaturlayout geht's vermutlich.

thfrei avatar Jan 22 '24 18:01 thfrei

Hi, thanks for the bug report! :)

When I tried running the mp3 with the local model, I got "Es wäre schön, wenn das Programm auch Umlaute unterstützen würde." With the API, I got "Es wäre schön, wenn das Programm auch Umlaut zu unterstützen würde."

@RaffCode-Personal, are you running from the latest commit? Special character transcription was an issue with an older version and was fixed when we switched to using pynput instead of pyautogui: https://github.com/savbell/whisper-writer/issues/9

savbell avatar Jan 26 '24 01:01 savbell

I can confirm that it works. It works perfectly with accented characters, starting from the commit that replaced pyinput with pyautogui for typing the characters.

CsehAbel avatar Mar 10 '24 16:03 CsehAbel

Closing the issue as it seems to be resolved. Thanks everyone!

savbell avatar May 12 '24 21:05 savbell