Module Uucp.Break

module Break: sig .. end
Break properties.

These properties are for the Unicode text segmentation and line breaking algorithm.

References




Line break


type line = [ `AI
| `AL
| `B2
| `BA
| `BB
| `BK
| `CB
| `CJ
| `CL
| `CM
| `CP
| `CR
| `EX
| `GL
| `H2
| `H3
| `HL
| `HY
| `ID
| `IN
| `IS
| `JL
| `JT
| `JV
| `LF
| `NL
| `NS
| `NU
| `OP
| `PO
| `PR
| `QU
| `RI
| `SA
| `SG
| `SP
| `SY
| `WJ
| `XX
| `ZW ]
The type for line breaks.
val pp_line : Format.formatter -> line -> unit
pp_line ppf l prints an unspecified representation of l on ppf.
val line : Uucp.uchar -> line
line u is u's line break property.

Grapheme cluster break


type grapheme_cluster = [ `CN | `CR | `EX | `L | `LF | `LV | `LVT | `PP | `RI | `SM | `T | `V | `XX ] 
The type for grapheme cluster breaks.
val pp_grapheme_cluster : Format.formatter -> grapheme_cluster -> unit
pp_grapheme_cluster ppf g prints an unspecified representation of g on ppf.
val grapheme_cluster : Uucp.uchar -> grapheme_cluster
grapheme_cluster u is u's grapheme cluster break property.

Word break


type word = [ `CR
| `DQ
| `EX
| `Extend
| `FO
| `HL
| `KA
| `LE
| `LF
| `MB
| `ML
| `MN
| `NL
| `NU
| `RI
| `SQ
| `XX ]
The type for word breaks.
val pp_word : Format.formatter -> word -> unit
pp_grapheme_cluster ppf g prints an unspecified representation of g on ppf.
val word : Uucp.uchar -> word
world u is u's word break property.

Sentence break


type sentence = [ `AT
| `CL
| `CR
| `EX
| `FO
| `LE
| `LF
| `LO
| `NU
| `SC
| `SE
| `SP
| `ST
| `UP
| `XX ]
The type for sentence breaks.
val pp_sentence : Format.formatter -> sentence -> unit
pp_grapheme_cluster ppf g prints an unspecified representation of g on ppf.
val sentence : Uucp.uchar -> sentence
sentence u is u's sentence break property.

Low level interface


module Low: sig .. end
Low level interface.