package uuseg

  1. Overview
  2. Docs
Unicode text segmentation for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

uuseg-17.0.0.tbz
sha512=8d81ca0a57516b94c66a0da256f3455ba26b0875ca9e354a665ec30223c9216be57abdd52c39c8c384fe127df8060c18ff07d92d4d9f53892bc4ed20699df3ef

Description

Uuseg is an OCaml library for segmenting Unicode text. It implements the locale independent Unicode text segmentation algorithms to detect grapheme cluster, word and sentence boundaries and the Unicode line breaking algorithm to detect line break opportunities.

The library is independent from any IO mechanism or Unicode text data structure and it can process text without a complete in-memory representation.

Uuseg is distributed under the ISC license. It depends on Uucp.

Homepage: http://erratique.ch/software/uuseg

README

Uuseg — Unicode text segmentation for OCaml

v17.0.0

Uuseg is an OCaml library for segmenting Unicode text. It implements the locale independent Unicode text segmentation algorithms to detect grapheme cluster, word and sentence boundaries and the Unicode line breaking algorithm to detect line break opportunities.

The library is independent from any IO mechanism or Unicode text data structure and it can process text without a complete in-memory representation.

Uuseg is distributed under the ISC license. It depends on Uucp.

Homepage: http://erratique.ch/software/uuseg

Installation

Uuseg can be installed with opam:

    opam install uuseg
opam install uuseg cmdliner uutf  # For the usegtrip tool. 

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation can be consulted online or via odig doc uuseg.

Questions are welcome but better asked on the OCaml forum than on the issue tracker.

Sample programs

The usegtrip tool segments text provided on standard input.

See also the doc examples.

Dependencies (5)

  1. uucp >= "17.0.0" & < "18.0.0"
  2. topkg build & >= "1.1.0"
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.14.0"

Dev Dependencies

None

Conflicts (2)

  1. cmdliner < "1.1.0"
  2. uutf < "1.0.0"