KoljaB / RealtimeSTT

A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription.
MIT License
2.09k stars 190 forks source link

Can we dynamiclly detect the language code? #98

Closed she7ata7 closed 3 months ago

she7ata7 commented 3 months ago

I want to get the language code that the user speaks (en, de ..etc), Can we detect the language code after the user speaks?

KoljaB commented 3 months ago

I see this can be helpful. Requires some changes to the code though. I try to come up with something soon that allows that.

KoljaB commented 3 months ago

Please check new version v0.2.3 with support for language detection. Also please look at realtimestt_test.py for an implementation example.

she7ata7 commented 3 months ago

thank you so much for this feature.