Skip to content

flashlight/app/asr/tutorial/InferenceCTC.cpp - Code query #731

Answered by tlikhomanenko
TzurV asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, it is building only unigram Trie. The ngram LM is used inside decoder itself when the leaf of trie is reached. See for example https://github.com/flashlight/flashlight/blob/master/flashlight/lib/text/decoder/LexiconDecoder.cpp#L124-L127

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TzurV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants