From aa20bebade8eeb3ca75199dc252feb3edb203fb1 Mon Sep 17 00:00:00 2001 From: Sam Atman Date: Fri, 16 May 2025 12:06:36 -0400 Subject: Words module In keeping with the new nomenclature, we're calling the module "Words", not "WordBreak". The latter is Unicode jargon, the module provides word iterators. Words are the figure, word breaks are the ground. --- src/unicode_tests.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/unicode_tests.zig') diff --git a/src/unicode_tests.zig b/src/unicode_tests.zig index 7139d4c..18f1814 100644 --- a/src/unicode_tests.zig +++ b/src/unicode_tests.zig @@ -211,7 +211,7 @@ test "Segmentation Word Iterator" { var buf_reader = std.io.bufferedReader(file.reader()); var input_stream = buf_reader.reader(); - const wb = try WordBreak.init(allocator); + const wb = try Words.init(allocator); defer wb.deinit(allocator); var buf: [4096]u8 = undefined; @@ -392,5 +392,5 @@ const Graphemes = @import("Graphemes"); const GraphemeIterator = @import("Graphemes").Iterator; const Normalize = @import("Normalize"); -const WordBreak = @import("WordBreak"); -const Word = WordBreak.Word; +const Words = @import("Words"); +const Word = Words.Word; -- cgit v1.2.3