提交 1edf1205 编写于 作者: H Hui Zhang

fix comment error

上级 d142d3a7
...@@ -14,3 +14,5 @@ ...@@ -14,3 +14,5 @@
import _locale import _locale
_locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8']) _locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8'])
...@@ -39,10 +39,10 @@ class OnlineCTCEndpoingOpt: ...@@ -39,10 +39,10 @@ class OnlineCTCEndpoingOpt:
# rule1 times out after 5 seconds of silence, even if we decoded nothing. # rule1 times out after 5 seconds of silence, even if we decoded nothing.
rule1: OnlineCTCEndpointRule = OnlineCTCEndpointRule(False, 5000, 0) rule1: OnlineCTCEndpointRule = OnlineCTCEndpointRule(False, 5000, 0)
# rule4 times out after 1.0 seconds of silence after decoding something, # rule2 times out after 1.0 seconds of silence after decoding something,
# even if we did not reach a final-state at all. # even if we did not reach a final-state at all.
rule2: OnlineCTCEndpointRule = OnlineCTCEndpointRule(True, 1000, 0) rule2: OnlineCTCEndpointRule = OnlineCTCEndpointRule(True, 1000, 0)
# rule5 times out after the utterance is 20 seconds long, regardless of # rule3 times out after the utterance is 20 seconds long, regardless of
# anything else. # anything else.
rule3: OnlineCTCEndpointRule = OnlineCTCEndpointRule(False, 0, 20000) rule3: OnlineCTCEndpointRule = OnlineCTCEndpointRule(False, 0, 20000)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册