Update text_engine.py

pull/2464/head
Zhao Yuting 2 years ago committed by GitHub
parent d2da7f50d2
commit 8ecf6796f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,6 @@ class PaddleTextConnectionHandler:
assert len(tokens) == len(labels)
text = ''
print(self._punc_list)
for t, l in zip(tokens, labels):
text += t
if l != 0: # Non punc.

Loading…
Cancel
Save