Skip to content

Commit 04c1656

Browse files
committed
Decouple the closure based glyph segmentation functionality from GlyphSegmentation.
- GlyphSegmentation contains common structures around representing a segmentation. - The specific closure based implementation of glyph keyed segmentation is moved to it's own file and own util closure_glyph_segmenter/closure_glyph_keyed_segmenter_util.
1 parent f52f144 commit 04c1656

File tree

9 files changed

+1021
-944
lines changed

9 files changed

+1021
-944
lines changed

ift/encoder/BUILD

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ cc_library(
99
"subset_definition.cc",
1010
"condition.h",
1111
"condition.cc",
12+
"closure_glyph_segmenter.h",
13+
"closure_glyph_segmenter.cc",
1214
],
1315
deps = [
1416
"//ift/proto",
@@ -65,4 +67,21 @@ cc_test(
6567
"@googletest//:gtest_main",
6668
"//common",
6769
],
70+
)
71+
72+
cc_test(
73+
name = "closure_glyph_segmenter_test",
74+
size = "small",
75+
srcs = [
76+
"closure_glyph_segmenter_test.cc",
77+
],
78+
data = [
79+
"//ift:testdata",
80+
"//common:testdata",
81+
],
82+
deps = [
83+
":encoder",
84+
"@googletest//:gtest_main",
85+
"//common",
86+
],
6887
)

0 commit comments

Comments
 (0)