I wanted to update the language model of Kaldi model used in Vosk. I was following the Updating the language model in Vosk Adaptation
I had this ERROR: fstsymbols: Saving osymbols but there are no output symbols when I try to run fstsymbols --save_osymbols=words.txt Gr.fst > /dev/null
.
I guess the words.txt is the new text which I want to recognize right?
What this command does is it saves all the output symbol table of the current finite state transducer (language model @ .fst file) into a text file called
words.txt
.This file would be used in the next command, where
text.txt
is a file containing your custom list of words.