forked from JoFrhwld/FAVE
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unintended overwrite of add_dict
An error in cmudictionary.py caused add_dict to be overwritten and change type when a transcribed word was not in the cmu dictionary and had not yet been added to the output dictionary. This led to an obvious type error and a not obvious failure to add custom dictionaries. This commit fixes the issue by adding the given word as a key to add_dict and adds a test to prevent regressions. Resolves JoFrhwld#59
- Loading branch information
Christian Brickhouse
committed
Aug 18, 2022
1 parent
40503a6
commit 716f95e
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters