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

Intl.Segmenter #145

Open
mnater opened this issue Oct 9, 2020 · 2 comments · May be fixed by #146
Open

Intl.Segmenter #145

mnater opened this issue Oct 9, 2020 · 2 comments · May be fixed by #146
Assignees

Comments

@mnater
Copy link
Owner

mnater commented Oct 9, 2020

There's a TC39 proposal (currently at stage 3) for an text segmentation API: https://github.com/tc39/proposal-intl-segmenter
This could replace the current implementation that uses RegEx to find words.
May be worth having a look at it, although browser support is still unsure...

@mnater mnater self-assigned this Oct 9, 2020
@mnater mnater linked a pull request Oct 13, 2020 that will close this issue
@mnater
Copy link
Owner Author

mnater commented Apr 5, 2024

FF (122 nightly, since January 23, 2024) has Intl.Segmeter enabled (https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/122).

And its at stage 4 since Jan 21, 2022 (tc39/proposal-intl-segmenter@f419484).

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

Successfully merging a pull request may close this issue.

1 participant