Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional msg for missing lm.binary added #3435

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

olafthiele
Copy link
Contributor

The error message for an unreadable lm binary file is misleading. We just had a user who wanted to build a scorer with generate_scorer and got the message "Could not read the scorer file." But he is missing the right lm.binary file. It would therefore be better to state that.

@reuben I changed the output to change the msg in case it the the
DS_ERR_SCORER_UNREADABLE message. And I haven't been coding C++ for a long time, hope that's fine with you.

@lissyx lissyx requested a review from reuben December 4, 2020 08:41
@lissyx
Copy link
Collaborator

lissyx commented Dec 4, 2020

@reuben gentle ping?

@reuben
Copy link
Contributor

reuben commented Dec 7, 2020

Sorry for forgetting to come back here.

@reuben reuben merged commit 18b66ad into mozilla:master Dec 7, 2020
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.

3 participants