synesthesiam / voice2json

Command-line tools for speech and intent recognition on Linux
MIT License
1.09k stars 63 forks source link

Set locales for docker build #9

Closed johanneskropf closed 4 years ago

johanneskropf commented 4 years ago

Docker cant be used for German Profiles as it gives asci decode errors while training. This is probably due to missing locales in the docker container.

synesthesiam commented 4 years ago

Yes, I believe the missing line is:

ENV LANG C.UTF-8

I'm working on the next version of voice2json now, which has this in it. Unfortunately, I'm not in a state where it'd be easy to switch back and fix the original Dockerfile :/

johanneskropf commented 4 years ago

Any rough guesses on an eta 🙈?

synesthesiam commented 4 years ago

Was hoping for today, but looks like it might be tomorrow :monkey_face:

johanneskropf commented 4 years ago

ENV LANG C.UTF-8

wouldn't you have to explicitly also include de_DE.utf-8 because of the german ä ö ü ß and so on for the other supported languages and their special characters?

synesthesiam commented 4 years ago

I don't think so, though I'm not a UTF expert by any means. I don't see training errors when testing the default German sentences, at least.

johanneskropf commented 4 years ago

Is this fix in the docker file on docker hub already? Than i could try it.