There’s no notion of known words in the checkpoint or frozen model.
Both the checkpoint and frozen model contain a so called acoustic model containing information indicating how to go from audio to letters. Basically it learns how to go from how a word sounds to a spelling of the word.
This acoustic model does not have a fixed vocabulary. So, for example, if you started speaking Spanish to the engine it would do its best to spell out what it heard as it if were an English speaker.
The vocabulary is “baked” in to the lm.binary
and trie
. In particular the trie
holds “known words”, as you are thinking about the term. So, for your case it looks like you want to create a trie
using the generate_trie
tool.