← Back to release summary

Intl.Segmenter

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 87)
Intent stage
Shipped

Summary

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.

Standards & signals

Docs: https://docs.google.com/document/d/1xugLpLmgRFnNXK8ztariTAbD2IXueDw1T3VNuuZCz8k/edit#heading=h.xgjl2srtytjt https://docs.google.com/presentation/d/1LOOt4WPvQdOK3banHkz1V8sdl8Z-7Z9jXBRRS9Ek8-M/edit#slide=id.gc6f73a04f_0_0

Explainers: https://github.com/tc39/proposal-intl-segmenter

View on chromestatus.com