Skip to content
This repository has been archived by the owner on Apr 13, 2018. It is now read-only.

Commit

Permalink
提高snowboy的识别准确率
Browse files Browse the repository at this point in the history
  • Loading branch information
wzpan committed Jun 21, 2017
1 parent 4beab38 commit 3c6e2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/stt.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def transcribe(self, fp):
fp.seek(44)
data = fp.read()
ans = self.detector.RunDetection(data)
if ans:
if ans > 0:
self._logger.info('Transcribed: %r', self.hotword)
return [self.hotword]
else:
Expand Down

0 comments on commit 3c6e2f5

Please sign in to comment.