Closed rwingham closed 7 years ago
LGTM!
(I am going to make a slight edit to this after merging. It looks like phoneset
is of type frozenset
so reasonably, the set containing 'sp' and 'sil' ought to be as well. And I also noticed that 'sp' and 'sil' are defined as globals in utilities.py
so I'm going to use those, just to be sure.)
This is a one-line fix that keeps prondict.py from exiting if 'sil' or 'sp' is used in a .dict file. This allows for dictionary files with pauses within a word.