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 9a0e630517 | 11 years ago | |
---|---|---|
.. | ||
scribblings | 11 years ago | |
.gitignore | 11 years ago | |
LICENSE | 11 years ago | |
README.md | 11 years ago | |
exceptions.rkt | 11 years ago | |
info.rkt | 11 years ago | |
main.rkt | 11 years ago | |
patterns.rkt | 11 years ago | |
tests.rkt | 11 years ago |
README.md
hyphenate
Racket implementation of the Knuth–Liang hyphenation algorithm.
Install from the command line like so:
raco pkg install hyphenate
Then require it in your Racket file:
(require hyphenate)
And enjoy:
(hyphenate "Hyphenation algorithm" #\-)
> "Hy-phen-ation al-go-rithm"