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/README.md

25 lines
669 B
Markdown

hyphenate [![Build Status](https://travis-ci.org/mbutterick/hyphenate.svg?branch=master)](https://travis-ci.org/mbutterick/hyphenate)
10 years ago
---------
10 years ago
Racket implementation of the KnuthLiang hyphenation algorithm.
10 years ago
10 years ago
Install from the command line like so:
10 years ago
10 years ago
raco pkg install hyphenate
10 years ago
9 years ago
Then require it in your Racket file, in standard mode:
10 years ago
(require hyphenate)
9 years ago
In safe mode (with contracts):
(require (submod hyphenate safe))
10 years ago
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](http://pkg-build.racket-lang.org/doc/hyphenate).