package uunf

  1. Overview
  2. Docs
Unicode text normalization for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uunf-0.9.2.tbz
sha256=364118267392f98d80a72d5ecba944a3d9a33d8c71f43e76b51b9248c05a6758
md5=ca312a45f473a66fe2d18492b09e11a0

README.md.html

Uunf — Unicode text normalization for OCaml

Release 0.9.2

Uunf is an OCaml module for normalizing Unicode text. It supports all Unicode normalization forms. The module is independent from any IO mechanism or Unicode text data structure and it can process text without a complete in-memory representation.

Uunf is made of a single independent module and distributed under the BSD3 license.

Home page: http://erratique.ch/software/uunf
Contact: Daniel Bünzli <daniel.buenzl i@erratique.ch>

Installation

Uunf can be installed with opam:

opam install uunf

If you don't use opam consult the opam file for build instructions and a complete specification of the dependencies.

Documentation

The documentation and API reference is automatically generated by ocamldoc from uunf.mli. It can be consulted online and there is a generated version in the doc directory of the distribution.

Sample programs

Sample programs are located in the test directory of the distribution. They can be built with:

ocamlbuild test/tests.otarget

The resulting binaries are in _build/test :

  • test.native tests the library with the Unicode Normalization Test file available from:

    http://www.unicode.org/Public/6.3.0/ucd/NormalizationTest.txt

    Nothing should fail.

  • unftrip.native inputs Unicode text on stdin and rewrites it on stdout in a given normalization form. Invoke with -help for more information. Depends on uutf.

OCaml

Innovation. Community. Security.