Skip to content

Commit

Permalink
fix blanck-bug in post processing
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyuankai committed Jan 11, 2021
1 parent 0fe2693 commit db62194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minlp-tokenizer/minlptokenizer/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def tag2words(self, text, y_pred_result):
word = ''
if word:
words.append(word)
return regex.split(r'\s+', ' '.join(words))
return words

def set_interfere_factor(self, interfere_factor):
"""
Expand Down

0 comments on commit db62194

Please sign in to comment.