Commit Graph

3 Commits

Author SHA1 Message Date
Nico Weber
414500c462 Tests: Make TestSegmenter test next_boundary() and previous_boundary() 2024-11-27 10:42:35 -05:00
Nico Weber
7b19c3e9d6 Tests: Extract test_segmentation() function in TestSegmenter 2024-11-27 10:42:35 -05:00
Nico Weber
71ea3c53a6 LibLocale: Add Segmenter.h
This is aspirationally in LibLocale in hopes that it does
locale-dependent segmentation one day.

For now, it just wraps LibUnicode's Segmentation.h.

Everything except Segmenter.cpp are from the first commit of
LadybirdBrowser/ladybird#218, by trflynn.

Co-authored-by: Tim Flynn <trflynn89@serenityos.org>
2024-11-26 13:50:49 -05:00