Closed S2P2 closed 1 month ago
Hello @S2P2! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Thank you.
fix empty string bug
What does this changes
pythainlp/tokenize/_utils.py : add the statement
if connected_token :
to check before appendingconnected_token
totokens_joined
What was wrong
https://github.com/PyThaiNLP/pythainlp/issues/911
How this fixes it
tokens_joined
won't be appended by empty string anymoreYour checklist for this pull request
🚨Please review the guidelines for contributing to this repository.