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 d884633fd8 Update .travis.yml 10 years ago
..
hyphenate doc update 10 years ago
typed add typed/hyphenate 10 years ago
.gitignore add typed/hyphenate 10 years ago
.travis.yml Update .travis.yml 10 years ago
LICENSE Initial commit 11 years ago
README.md Update README.md 10 years ago
info.rkt add update-implies 10 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))

Or in typed mode:

(require typed/hyphenate)

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.