package uunf

  1. Overview
  2. Docs
Unicode text normalization for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

uunf-0.9.3.tbz
sha256=c0d64fbecac87cdb9eba9b32220e6913100ff21b8cd61b76d6c1545083978f99
md5=81831c9b035df6b1d9fb6b9ff3da286b

Description

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.

Tags

unicode text

Published: 16 Jun 2014

README

Uunf — Unicode text normalization for OCaml

Release 0.9.3

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/7.0.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.

Dependencies (3)

  1. ocamlbuild build
  2. ocamlfind
  3. ocaml >= "4.00.0" & < "5.0"

Dev Dependencies

None

Used by (6)

  1. crowbar
  2. fuzzy_compare
  3. inquire = "0.2.1"
  4. oidc < "0.1.1"
  5. omd >= "2.0.0~alpha3"
  6. uucp >= "2.0.0"

Conflicts (1)

  1. uutf > "0.9.4"
OCaml

Innovation. Community. Security.