Skip to content

Commit

Permalink
Update core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wannaphong committed Apr 14, 2021
1 parent c742ded commit 9d0453d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pythainlp/tokenize/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ def syllable_tokenize(
'รถ', 'จักร', 'ดี', 'เซล', ' ', 'หรือ', 'จาก', 'ไฟ', 'ฟ้า']
"""
warnings.warn(
"syllable_tokenize is deprecated, use subword_tokenize instead",
DeprecationWarning
"syllable_tokenize will be deprecated in PyThaiNLP version 2.4, use subword_tokenize instead",
PendingDeprecationWarning
)

if not text or not isinstance(text, str):
Expand Down

0 comments on commit 9d0453d

Please sign in to comment.