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
Matthew Butterick bb00063f54 avoid a list operation 9 years ago
..
hyphenate avoid a list operation 9 years ago
.gitignore add typed/hyphenate 10 years ago
.travis.yml test 6.4 9 years ago
LGPL.txt adjust license 9 years ago
LICENSE adjust license 9 years ago
README.md add support for multiple languages (incl French); remove typed/hyphenate support (for lack of interest) 9 years ago
info.rkt adjust info.rkt 9 years ago

README.md

hyphenate Build Status

Racket implementation of the KnuthLiang hyphenation algorithm.

Install from the command line like so:

raco pkg install hyphenate

Then require it in your Racket file, in standard mode:

(require hyphenate)

In safe mode (with contracts):

(require (submod hyphenate safe))

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.