kelvinguu / simple-speech-recognition

A complete speech recognition system you can deploy with just a few lines of Python, built on CMU Sphinx-4.
63 stars 22 forks source link

2 minor issues to migrate from python2 to python3 #8

Open MichaelShi1979 opened 4 years ago

MichaelShi1979 commented 4 years ago

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