You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
typesetting/hyphenate/README.md

29 lines
708 B
Markdown

hyphenate [![Build Status](https://travis-ci.org/mbutterick/hyphenate.svg?branch=master)](https://travis-ci.org/mbutterick/hyphenate)
11 years ago
---------
11 years ago
Racket implementation of the KnuthLiang hyphenation algorithm.
11 years ago
11 years ago
Install from the command line like so:
11 years ago
11 years ago
raco pkg install hyphenate
6 years ago
Later, you an update like so:
raco pkg update hyphenate
11 years ago
6 years ago
Import in standard mode:
11 years ago
(require hyphenate)
6 years ago
Or in safe mode (adds contracts):
10 years ago
(require (submod hyphenate safe))
11 years ago
And enjoy:
(hyphenate "Hyphenation algorithm" #\-)
> "Hy-phen-ation al-go-rithm"
Full docs are installed with the package. You can also [read the docs here](http://pkg-build.racket-lang.org/doc/hyphenate).