Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 6bc72a4 Author: Christian Brickhouse <[email protected]> Date: Wed Aug 17 23:10:36 2022 -0700 Update deps, expand author info in toml commit 694ba50 Author: Christian Brickhouse <[email protected]> Date: Wed Aug 17 23:09:34 2022 -0700 Bump version to 2.0.2-dev commit 716f95e Author: Christian Brickhouse <[email protected]> Date: Wed Aug 17 22:43:25 2022 -0700 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 #59 commit 40503a6 Author: Christian Brickhouse <[email protected]> Date: Wed Aug 17 22:31:34 2022 -0700 Add cmu_dict... test and fix write error This commit adds some testing for the cmudictionary.py module. In testing cmudictionary.CMU_Dictionary.add_dictionary_entries() a bug was uncovered in .check_transcription() which caused the output file to have more spaces than necessary. The cause was that function did not split the phone string when it was supposed to. This commit fixes the error and includes the test to prevent regression.
- Loading branch information