Skip to content

Commit f2c9ef3

Browse files
authored
Merge pull request #284 from lovit/feature/282
2 parents a071d6b + 9da2bb6 commit f2c9ef3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

soynlp/tokenizer/tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _tokenize(self, s, offset=0, eojeol_id=0):
131131
if begin > i:
132132
continue
133133
if s[i : i + len_found] == found:
134-
s_ += " %s " % s[i : i + len_found]
134+
s_ += f" {s[i : i + len_found]} "
135135
begin = i + len_found
136136
if not founds:
137137
s_ += s[begin:]

0 commit comments

Comments
 (0)