packageuuseg
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=355139aee2a72baddf3d811e522948456147546ee946b6eca20f57711865770d4b8d32ea01a7338b8e6cdedb4423ee65cee387704bb9c0c057bcbd65012679b8
Description
Uuseg is an OCaml library for segmenting Unicode text. It implementsthe locale independentUnicode text segmentation algorithms todetect grapheme cluster, word and sentence boundaries and theUnicodeline breaking algorithm to detect line break opportunities.
The library is independent from any IO mechanism or Unicode text datastructure and it can process text without a complete in-memoryrepresentation.
Uuseg is distributed under the ISC license. It depends onUucp.
Homepage:http://erratique.ch/software/uuseg
README
Uuseg — Unicode text segmentation for OCaml
v16.0.0
Uuseg is an OCaml library for segmenting Unicode text. It implements the locale independentUnicode text segmentation algorithms to detect grapheme cluster, word and sentence boundaries and theUnicode 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 onUucp.
Homepage:http://erratique.ch/software/uuseg
Installation
Uuseg can be installed withopam
:
opam install uusegopam install uuseg cmdliner uutf # For the usegtrip tool.
If you don't useopam
consult theopam
file for build instructions.
Documentation
The documentation can be consultedonline or viaodig doc uuseg
.
Questions are welcome but better asked on theOCaml forum than on the issue tracker.
Sample programs
Theusegtrip
tool segments text provided on standard input.
See also thedoc examples.
Dependencies (5)
- uucp
>= "16.0.0" & < "17.0.0"
- topkg
build & >= "1.0.3"
- ocamlbuild
build
- ocamlfind
build
- ocaml
>= "4.14.0"
Dev Dependencies
None
Used by (11)
- fuzzy_compare
- inquire
= "0.2.1"
- matita
- notty
< "0.2.3"
- ocamlformat
>= "0.10" & < "0.25.1"
- ocamlformat-lib
- ocamlformat-mlx-lib
- ocamlformat-rpc
< "0.21.0"
- ocamlmig
- slug
- zed
>= "3.2.0"