Skip to content

Commit

Permalink
fix: CI error 3
Browse files Browse the repository at this point in the history
  • Loading branch information
new5558 committed Jan 11, 2025
1 parent ef44e60 commit d8d22f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pythainlp/tokenize/longest.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,3 @@ def segment(text: str, custom_dict: Trie = DEFAULT_WORD_DICT_TRIE) -> List[str]:
_tokenizers[custom_dict_ref_id] = LongestMatchTokenizer(custom_dict)

return _tokenizers[custom_dict_ref_id].tokenize(text)
# return LongestMatchTokenizer(custom_dict).tokenize(text)

0 comments on commit d8d22f6

Please sign in to comment.