Skip to content

Add BOOSTED_LM_WORDS env and merge into args#109

Merged
openminddev merged 1 commit intomainfrom
customize-boosted-words
Mar 11, 2026
Merged

Add BOOSTED_LM_WORDS env and merge into args#109
openminddev merged 1 commit intomainfrom
customize-boosted-words

Conversation

@openminddev
Copy link
Contributor

Expose BOOSTED_LM_WORDS in docker-compose and update ASR args parsing to incorporate it. docker/docker-compose.yml now includes BOOSTED_LM_WORDS env var (default: Tensor). src/om1_speech/riva/args.py imports os, defines an expanded default boosted word list, reads BOOSTED_LM_WORDS (comma-separated) from the environment, filters/uniques additional words, and extends the parser's --boosted-lm-words default accordingly. Also updated the help text to note the env var option.

Expose BOOSTED_LM_WORDS in docker-compose and update ASR args parsing to incorporate it. docker/docker-compose.yml now includes BOOSTED_LM_WORDS env var (default: Tensor). src/om1_speech/riva/args.py imports os, defines an expanded default boosted word list, reads BOOSTED_LM_WORDS (comma-separated) from the environment, filters/uniques additional words, and extends the parser's --boosted-lm-words default accordingly. Also updated the help text to note the env var option.
@openminddev openminddev merged commit e49b022 into main Mar 11, 2026
7 checks passed
@openminddev openminddev deleted the customize-boosted-words branch March 11, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant