qmoya / hyphenate

Racket implementation of Knuth–Liang hyphenation algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hyphenate Build Status

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.

About

Racket implementation of Knuth–Liang hyphenation algorithm

License:Other


Languages

Language:Racket 100.0%