Home

Awesome

clj-hyphenate Circle CI codecov.io

Clojars Project

A Clojure implementation of Franklin M Liang's hyphenation algorithm. Patterns are automatically imported from Hyphenator.js.

Features

Example uses

Usage

(require '[clj-hyphenate.core :refer [hyphenate-word]]
         '[clj-hyphenate.patterns.en-us :as en]))

user=> (hyphenate-word en/rules "associate")
"as-so-ciate"
user=> (hyphenate-word en/rules "hyphenation")
"hy-phen-ation"

License

Copyright © 2015 Juho Teperi

Distributed under the MIT License.

Patterns are imported from Hyphenator.js. Patterns should contain mention about their original source.