vosk-api icon indicating copy to clipboard operation
vosk-api copied to clipboard

How to deal with homonyms in grammer

Open MooWeii opened this issue 2 months ago • 3 comments

I defined grammer, in which there are two homophonic Chinese characters "摆" and "百". Now there is a sentence with the correct format of "摆料等待时间修改为一百", but always return "百料等待时间修改为一百". It doesn't work if I add "摆料" to grammer, so what should I do

MooWeii avatar Apr 27 '24 06:04 MooWeii

Hi

You can improve language model to give more priority for correct word. See https://alphacephei.com/vosk/lm

nshmyrev avatar Apr 28 '24 07:04 nshmyrev

Hi

You can improve language model to give more priority for correct word. See https://alphacephei.com/vosk/lm

Thank you for your reply and contribution. In addition, where can I download the Chinese upgrade package. I see that the upgrade needs to download the upgrade package, but there is no Chinese link.

MooWeii avatar Apr 28 '24 07:04 MooWeii

You can request it over email

nshmyrev avatar Apr 28 '24 11:04 nshmyrev

Same as #866

nshmyrev avatar May 21 '24 13:05 nshmyrev