All about bug fixes.
Install/upgrade:
pip install -U pythainlp- Documentation: https://pythainlp.github.io/docs/5.3
- Report bug: https://github.com/PyThaiNLP/pythainlp/issues
What's changed
- fix: apply เอ็ด rule for ones=1 in hundreds and above by @phoneee in #1386
- fix: build WSD Trie after populating dictionary, not before by @phoneee in #1388
- fix: guard han_solo list_cut[-1] and narrow longest.py exception catch by @phoneee in #1382
- fix: handle empty strings and empty list in word_detokenize by @phoneee in #1374
- fix: remove misleading second arg from assertTrue/assertFalse calls by @phoneee in #1381
- fix: use full version string in _check_version for <= and < operators by @phoneee in #1379
- docs: convert :Example: RST code blocks to proper Python doctest format by @Copilot in #1392
New contributors
Full Changelog: v5.3.3...v5.3.4