Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > a7429cd03e75b855aed2f3b5f0ed15a9 > files > 10

ocaml-uunf-0.9.2-5.mga6.x86_64.rpm

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][1]. 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.

[1]: http://www.unicode.org/reports/tr15/

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`](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][3] and there
is a generated version in the `doc` directory of the distribution.

[3]: http://erratique.ch/software/uunf/doc/Uunf


## 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`](http://erratique.ch/software/uutf).