Module Uucp.Break.Low

module Low: sig .. end

Low level interface.

This interface may be useful for table based implementers of segmenters. For each kind of break, property values are assigned integer values starting from 0. An array allows to recover the high-level representation of the corresponding property value.


Low level access to break properties

Warning. Do not mutate these array.

val line : Stdlib.Uchar.t -> int

line u is an integer that can be used with Uucp.Break.Low.line_of_int.

val line_max : int

line_max is the maximal value returned by Uucp.Break.Low.line.

val line_of_int : Uucp.Break.line array

line_of_int.(i) is the line break property value corresponding to i.

val grapheme_cluster : Stdlib.Uchar.t -> int

grapheme_cluster u is an integer that can be used with Uucp.Break.Low.grapheme_cluster_of_int.

val grapheme_cluster_max : int

grapheme_cluster_max is the maximal value returned by Uucp.Break.Low.grapheme_cluster.

val grapheme_cluster_of_int : Uucp.Break.grapheme_cluster array

grapheme_cluster_of_int.(i) is the grapheme cluster break property value corresponding to i.

val word : Stdlib.Uchar.t -> int

word u is an integer that can be used with Uucp.Break.Low.word_of_int.

val word_max : int

word_max is the maximal value returned by Uucp.Break.Low.word.

val word_of_int : Uucp.Break.word array

word_of_int.(i) is the word break property value corresponding to i.

val sentence : Stdlib.Uchar.t -> int

sentence u is an integer that can be used with Uucp.Break.Low.sentence_of_int.

val sentence_max : int

sentence_max is the maximal value returned by Uucp.Break.Low.sentence.

val sentence_of_int : Uucp.Break.sentence array

sentence_of_int.(i) is the sentence break property value corresponding to i.