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

「が痛い(いが」は絶対におかしい #1

Open
KusaReMKN opened this issue Jan 7, 2025 · 1 comment
Open

「が痛い(いが」は絶対におかしい #1

KusaReMKN opened this issue Jan 7, 2025 · 1 comment

Comments

@KusaReMKN
Copy link
Owner

単語境界アサーションとかを使っていい感じに分割するモードがあっても良さそう

@KusaReMKN
Copy link
Owner Author

日本語の文章の多くの部分は分かち書きをしないので単語境界アサーションでは対応できなさそう。代わりに Intl.Segmenter のようなものを使えと MDN も言っている

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

1 participant