alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.84k stars 1.09k forks source link

当我在解析中文语音时候,解析得到的是词语,而不是字 #1360

Closed PengChaoJay closed 1 year ago

PengChaoJay commented 1 year ago

我调用vosk_recognizer_set_words(VoskRecognizer *recognizer, int words);,word设置的是1,但是返回得到的数据是词语,是什么原因呀,是因为directionary的使用错误吗

svenha commented 1 year ago

Please add more context and describe your issue in English.

PengChaoJay commented 1 year ago

When I parse Chinese speech, I get words, not word,I want to get I call vosk_recognizer_set_words(VoskRecognizer *recognizer, int words); , words set to 1, but the returned data is a word, what is the reason, is it because of the wrong use of directionary?