We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment
Python 3.10.14 (main, Mar 21 2024, 01:58:23) [Clang 14.0.3 (clang-1403.0.22.14.1)] on darwin
Additional context
n/a
Steps to Reproduce
>>> list(enchant.tokenize.basic_tokenize("He’d said, “Hello”")) [('He’d', 0), ('said', 5), ('“Hello”', 11)]
Expected behavior
>>> list(enchant.tokenize.basic_tokenize("He’d said, “Hello”")) [('He’d', 0), ('said', 5), ('Hello', 12)]
The tokenizer uses these characters when l/rstripping a word:
pyenchant/enchant/tokenize/__init__.py
Lines 283 to 285 in 1b7b059
but I think “‘ and ”’ should also be considered.
“‘
”’
Happy to provide a PR.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Additional context
n/a
Steps to Reproduce
Expected behavior
Additional context
The tokenizer uses these characters when l/rstripping a word:
pyenchant/enchant/tokenize/__init__.py
Lines 283 to 285 in 1b7b059
but I think
“‘
and”’
should also be considered.Happy to provide a PR.
The text was updated successfully, but these errors were encountered: