Skip to content

Commit

Permalink
fix: tell user to rerun g2p update (they can)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Jul 19, 2022
1 parent 3eb0ed7 commit eeac7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion g2p/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __str__(self):
"There is something wrong with your mapping. \n"
"You might be missing some keywords or \n"
'Not all of the input and output pairs in your mapping have values for "in" and "out"\n'
'You may need to revert g2p/mappings/langs.pkl after resolving this problem\n'
'You may need to rerun "g2p update" after resolving this problem.\n'
"Please refer to the documentation and fix your mapping." + self.message
)
)
Expand Down

0 comments on commit eeac7dd

Please sign in to comment.