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 6aa792d89c rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
..
doc rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
scribblings rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
.gitignore update gitignore 10 years ago
LICENSE Initial commit 11 years ago
README.md Update README.md 10 years ago
exceptions.rkt rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
info.rkt add xexpr support 11 years ago
main.rkt rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
patterns.rkt rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
tests.rkt rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago

README.md

hyphenate

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:

(require 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.