simple-speech-recognition icon indicating copy to clipboard operation
simple-speech-recognition copied to clipboard

2 minor issues to migrate from python2 to python3

Open MichaelShi1979 opened this issue 5 years ago • 0 comments

within cmu_sphinx4.py,

line 51: for param, value in parameters.iteritems() should be fixed to for param, value in parameters.items()

line 88, 90, prepend 'b':

if b'WARNING dictionary' in output and b'Missing word:' in output
if b'Falling back to non-recursive partition' in output

MichaelShi1979 avatar Mar 28 '20 13:03 MichaelShi1979