Spaces:
Sleeping
Sleeping
update
Browse files
toolbox/k2_sherpa/decode.py
CHANGED
@@ -40,6 +40,7 @@ def decode_offline_recognizer(recognizer: sherpa.OfflineRecognizer,
|
|
40 |
recognizer.decode_stream(s)
|
41 |
|
42 |
text = s.result.text.strip()
|
|
|
43 |
return text.lower()
|
44 |
|
45 |
|
|
|
40 |
recognizer.decode_stream(s)
|
41 |
|
42 |
text = s.result.text.strip()
|
43 |
+
print("text: {}".format(text))
|
44 |
return text.lower()
|
45 |
|
46 |
|