Skip to content

Commit 695df0a

Browse files
committed
Update core.py
1 parent 9d04bd2 commit 695df0a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pythainlp/tokenize/core.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ def clause_tokenize(doc: List[str]) -> List[List[str]]:
4646
return segment(doc)
4747

4848

49-
def word_detokenize(
50-
segments: Union[List[List[str]],
51-
List[str]],
52-
output: str = "str") -> Union[str, List[str]]:
49+
def word_detokenize(segments: Union[List[List[str]], List[str]], output: str = "str") -> Union[str, List[str]]:
5350
"""
5451
Word detokenizer.
5552

0 commit comments

Comments
 (0)