Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Conditional msg for missing lm.binary added#3435

Merged
reuben merged 1 commit intomozilla:masterfrom
olafthiele:scorerchange
Dec 7, 2020
Merged

Conditional msg for missing lm.binary added#3435
reuben merged 1 commit intomozilla:masterfrom
olafthiele:scorerchange

Conversation

@olafthiele
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

lissyx commented Dec 4, 2020

@reuben gentle ping?

@reuben
Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants