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.
Matthew Butterick d474919663 | 5 years ago | |
---|---|---|
.. | ||
hyphenate | 5 years ago | |
.gitignore | 10 years ago | |
.travis.yml | 6 years ago | |
LGPL.txt | 9 years ago | |
LICENSE | 9 years ago | |
README.md | 6 years ago | |
info.rkt | 9 years ago |
README.md
hyphenate
Racket implementation of the Knuth–Liang hyphenation algorithm.
Install from the command line like so:
raco pkg install hyphenate
Later, you an update like so:
raco pkg update hyphenate
Import in standard mode:
(require hyphenate)
Or in safe mode (adds 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.