Skip to content

Commit a0053c1

Browse files
authored
Update wtsplit.py
fix segmentation style
1 parent 4898960 commit a0053c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythainlp/tokenize/wtsplit.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ def _tokenize(
5050
return _MODEL.split(
5151
text,
5252
lang_code=lang_code,
53-
style=style,
53+
do_paragraph_segmentation=True,
5454
threshold=paragraph_threshold,
55+
style=style,
5556
)
5657
else:
5758
raise ValueError(

0 commit comments

Comments
 (0)