Skip to content

Conversation

@lenzo-ka
Copy link
Contributor

  • Modified ngram_model_read() to check if 'lw' and 'wip' parameters exist before trying to read them using ps_config_typeof()
  • These decoder-specific parameters are not required for language model conversion tools like pocketsphinx_lm_convert
  • Added test_lm_convert to verify language models can be read without these parameters
  • Fixes pockestphinx_lm_convert wants missing config args #399

- Modified ngram_model_read() to check if 'lw' and 'wip' parameters exist
  before trying to read them using ps_config_typeof()
- These decoder-specific parameters are not required for language model
  conversion tools like pocketsphinx_lm_convert
- Added test_lm_convert to verify language models can be read without
  these parameters
- Fixes #399
@lenzo-ka lenzo-ka requested a review from dhdaines July 16, 2025 19:01
make CI happier
Copy link
Contributor

@dhdaines dhdaines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks, this has been an annoyance for a long time!

@lenzo-ka lenzo-ka merged commit db5d1b6 into main Jul 29, 2025
21 checks passed
@dhdaines dhdaines added this to the 5.1.0 milestone Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

pockestphinx_lm_convert wants missing config args

3 participants