espressif / esp-sr

Speech recognition
Other
549 stars 103 forks source link

PinYin output in esp_mn_results_t->string (AIS-1690) #116

Open mike-2020 opened 1 month ago

mike-2020 commented 1 month ago

I observed that esp_mn_results_t->string would contain PinYin output if: (1) a command word is detected; (2)mn_state is ESP_MN_STATE_TIMEOUT.

How can I get PinYin output even no command word is detected? Converting speech audio to PinYin is useful for my use case.

mike-2020 commented 3 weeks ago

Any update on this? PinYin output could be useful because it can be interpreted/understood by LLM.

sun-xiangyu commented 3 weeks ago

Hi @mike-2020 , Without a fixed vocabulary, the accuracy of the output pinyin will be greatly reduced.