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 1e0a5116d6 ignore those too 9 years ago
..
doc change #:min-ends-length to #:min-left-length and #:min-right-length 10 years ago
scribblings change #:min-ends-length to #:min-left-length and #:min-right-length 10 years ago
.gitignore ignore those too 9 years ago
.travis.yml Enlarge build matrix 9 years ago
LICENSE Initial commit 10 years ago
README.md Add build-status badge 9 years ago
exceptions.rkt rewrite core algorithm in more Racketish way; add caching; add #:min-ends-length keyword argument 10 years ago
info.rkt update build dependency 9 years ago
main.rkt speed up pattern loading with pre-hashed patterns 10 years ago
patterns-hashed.rkt speed up pattern loading with pre-hashed patterns 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 change #:min-ends-length to #:min-left-length and #:min-right-length 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:

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