Skip to content
New issue

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

correct_spaces incorrectly inserts spaces into abbreviations #44

Open
atlijas opened this issue Jun 15, 2023 · 1 comment
Open

correct_spaces incorrectly inserts spaces into abbreviations #44

atlijas opened this issue Jun 15, 2023 · 1 comment

Comments

@atlijas
Copy link

atlijas commented Jun 15, 2023

Using the newest version of Tokenizer, 3.4.2:

from tokenizer import correct_spaces
>>> correct_spaces('Þarna voru t.d. tveir hundar , m.a. hundurinn hans Jóns .')
# Expected output: 'Þarna voru t.d. tveir hundar, m.a. hundurinn hans Jóns.'
# Output:          'Þarna voru t. d. tveir hundar, m. a. hundurinn hans Jóns.'
@HaukurPall
Copy link
Contributor

Thanks for reporting this. We will look into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants