Skip to content

Conversation

@polm
Copy link
Owner

@polm polm commented Dec 20, 2024

This preserves spacing between ASCII tokens (after converting full width to half width). It makes the results for ASCII input more natural instead of adding surprising spacing due to MeCab token boundaries.

This doesn't fix everything in #65, but it fixes the reproducible part.

This modifies behavior in old tests, but it seems to have no downsides.

polm added 4 commits December 20, 2024 20:57
This resolves most of the weird spacing around ASCII input. Note that it
has to happen at the end of the processing pipeline to work with rules
that make sure ascii-ish punctuation next to Japanese gets the right
results.
Various kinds of weird behavior that tests documented now just works
naturally, so that's good.
@polm polm merged commit 993fb0b into master Jan 4, 2025
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants