@@ -63,8 +63,7 @@ type word =
63
63
(* * The type for word breaks. *)
64
64
65
65
val pp_word : Format .formatter -> word -> unit
66
- (* * [pp_grapheme_cluster ppf g] prints an unspecified representation of [g]
67
- on [ppf]. *)
66
+ (* * [pp_word ppf b] prints an unspecified representation of [b] on [ppf]. *)
68
67
69
68
val word : Uchar .t -> word
70
69
(* * [word u] is [u]'s
@@ -79,14 +78,27 @@ type sentence =
79
78
(* * The type for sentence breaks. *)
80
79
81
80
val pp_sentence : Format .formatter -> sentence -> unit
82
- (* * [pp_grapheme_cluster ppf g] prints an unspecified representation of [g]
83
- on [ppf]. *)
81
+ (* * [pp_sentence ppf b] prints an unspecified representation of [b] on [ppf]. *)
84
82
85
83
val sentence : Uchar .t -> sentence
86
84
(* * [sentence u] is [u]'s
87
85
{{:http://www.unicode.org/reports/tr44/#Sentence_Break}sentence break}
88
86
property. *)
89
87
88
+ (* * {1:indic_conjunct_break Indic conjunct break} *)
89
+
90
+ type indic_conjunct_break = [ `Consonant | `Extend | `Linker | `None ]
91
+ (* * The type for Indic Conjunct Break. *)
92
+
93
+ val pp_indic_conjunct_break : Format .formatter -> indic_conjunct_break -> unit
94
+ (* * [pp_indic_conjunct_break ppf b] prints an unspecified representation of [b]
95
+ on [ppf]. *)
96
+
97
+ val indic_conjunct_break : Uchar .t -> indic_conjunct_break
98
+ (* * [indic_conjunct_break u] is [u]'s
99
+ {{:http://www.unicode.org/reports/tr44/#Indic_Conjunct_Break}
100
+ Indic conjunct break} property. *)
101
+
90
102
(* * {1:east_asian_width East Asian width} *)
91
103
92
104
type east_asian_width = [ `A | `F | `H | `N | `Na | `W ]
@@ -98,8 +110,8 @@ val pp_east_asian_width : Format.formatter -> east_asian_width -> unit
98
110
99
111
val east_asian_width : Uchar .t -> east_asian_width
100
112
(* * [east_asian_width u] is [u]'s
101
- {{:http://www.unicode.org/reports/tr44/#East_Asian_Width}East Asian
102
- width} property. *)
113
+ {{:http://www.unicode.org/reports/tr44/#East_Asian_Width}East
114
+ Asian width} property. *)
103
115
104
116
(* * {1:terminal_width Terminal width} *)
105
117
@@ -240,4 +252,16 @@ module Low : sig
240
252
val sentence_of_int : sentence array
241
253
(* * [sentence_of_int.(i)] is the sentence break property value
242
254
corresponding to [i]. *)
255
+
256
+ val indic_conjunct_break : Uchar .t -> int
257
+ (* * [indic_conjunct_break u] is an integer that can be used with
258
+ {!indic_conjunct_break_of_int}. *)
259
+
260
+ val indic_conjunct_break_max : int
261
+ (* * [indic_conjunct_break_max] is the maximal value returned by
262
+ {!val-indic_conjunct_break_of_int}. *)
263
+
264
+ val indic_conjunct_break_of_int : indic_conjunct_break array
265
+ (* * [indic_conjunct_break.(i)] is the Indic conjunct break property
266
+ value corresponding to [i]. *)
243
267
end
0 commit comments