csukuangfj commited on
Commit
ba8851f
1 Parent(s): 7d66801

Minor fixes.

Browse files
Files changed (1) hide show
  1. offline_asr.py +2 -0
offline_asr.py CHANGED
@@ -332,7 +332,9 @@ class OfflineAsr(object):
332
  results = self.sp.decode(tokens)
333
  else:
334
  results = [[self.token_table[i] for i in hyp] for hyp in tokens]
 
335
  results = ["".join(r) for r in results]
 
336
 
337
  return results
338
 
 
332
  results = self.sp.decode(tokens)
333
  else:
334
  results = [[self.token_table[i] for i in hyp] for hyp in tokens]
335
+ blank = chr(0x2581)
336
  results = ["".join(r) for r in results]
337
+ results = [r.replace(blank, " ") for r in results]
338
 
339
  return results
340