We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 913de3f + 61700f1 commit c7470dcCopy full SHA for c7470dc
pythainlp/tokenize/core.py
@@ -413,7 +413,7 @@ def sent_tokenize(
413
414
segments = segment(text)
415
elif engine == "whitespace":
416
- segments = re.split(r" +", text, re.U)
+ segments = re.split(r" +", text, flags=re.U)
417
elif engine == "whitespace+newline":
418
segments = text.split()
419
elif engine == "tltk":
0 commit comments