alphacep/vosk-api

support very long grammar

YangangCao opened this issue · 2 comments

Hi, dear author, I try to construct very long(about more than 400 words) grammar in Vosk, Now Vosk will report an error in such situation. Any idea about support very long grammar?

Actually I want to align the very long text and the corresponding audio in pronunciation assessment, ASR with grammar is accurate and fast. The text is in order, I am not sure ordered text is helpful for constructing very long grammar?

Thanks for your attention!

What kind of error do you see?

Sorry, it's my fault, too short char grammar buffer to use long grammar, when I change into long buffer, it runs as normal.