Intl.Segmenter implements methods for finding the location of boundaries in text, including grapheme,word and sentence boundary analysis.
Motivation
Currently, chrome is shipped with Intl.v8BreakIterator - a non standard way for similar functionality. According to https://www.chromestatus.com/metrics/feature/timeline/popularity/556 on 2020 Feb there are 0.74% of the web page use it. Intl.Segmenter is the web standard to replace it.
Documentation
Specification
Specification being incubated in a Community Group
Status in Chromium
Blink>JavaScript>Internationalization
Enabled by default
(tracking bug)
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- In development
- In development
- No signals
Owners
Intent to Prototype url
Intent to Prototype threadLast updated on 2022-01-13
Comments
https://docs.google.com/presentation/d/1LOOt4WPvQdOK3banHkz1V8sdl8Z-7Z9jXBRRS9Ek8-M/edit https://github.com/tc39/proposal-intl-segmenter