Skip to content

fix: catch TypeError instead of ValueError in sent_tokenize - #1375

Merged
bact merged 3 commits into
PyThaiNLP:devfrom
phoneee:fix/sent-tokenize-exception-type
May 1, 2026
Merged

fix: catch TypeError instead of ValueError in sent_tokenize#1375
bact merged 3 commits into
PyThaiNLP:devfrom
phoneee:fix/sent-tokenize-exception-type

Update tests/core/test_tokenize.py

628bb28
Select commit
Loading
Failed to load commit list.