hyphenation: Configurable Knuth-Liang hyphenation

[ bsd2, library, text ] [ Propose Tags ]

Configurable Knuth-Liang hyphenation

Uses the UTF8 encoded hyphenation patterns provided by hyph-utf8 from http://www.ctan.org/tex-archive/language/hyph-utf8

Usage:

>>> hyphenate english_US "supercalifragilisticexpialadocious"
["su","per","cal","ifrag","ilis","tic","ex","pi","al","ado","cious"]
>>> hyphenate english_US "hyphenation"
["hy","phen","ation"]
>>> hyphenate icelandic "va\240lahei\240avegavinnuverkf\230rageymslusk\250r"
["va\240la","hei\240a","vega","vinnu","verk","f\230ra","geymslu","sk\250r"]

[Skip to Readme]
Versions [faq] 0.1, 0.2, 0.2.0.1, 0.2.1, 0.2.1.1, 0.2.1.3, 0.2.1.4, 0.2.1.5, 0.2.1.6, 0.2.1.7, 0.2.1.8, 0.2.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.2.1, 0.5, 0.6, 0.7, 0.7.1, 0.8
Change log CHANGELOG.markdown
Dependencies base (==4.*), bytestring (>=0.9 && <0.11), containers (>=0.3.0.0 && <0.7), file-embed (>=0.0.7 && <0.1), semigroups (>=0.16 && <0.20), text, unordered-containers (>=0.2.1 && <0.3), zlib (>=0.5 && <0.7) [details]
License BSD-2-Clause
Copyright (C) 2012-2016 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Category Text
Home page http://github.com/ekmett/hyphenation
Bug tracker http://github.com/ekmett/hyphenation/issues
Source repo head: git clone git://github.com/ekmett/hyphenation.git
Uploaded by EdwardKmett at Sat May 18 03:35:54 UTC 2019
Distributions LTSHaskell:0.7.1, NixOS:0.7.1, Stackage:0.8
Downloads 10465 total (246 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
embed

Embed data in library binary (Warning: This increases the executable size by about 1Mb unless unneeded language data files are manually removed from the "data" directory before compiling)

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hyphenation-0.8

[back to package description]

hyphenation

Hackage Build Status

Configurable Knuth-Liang hyphenation using the UTF8 encoded hyphenation patterns provided by hyph-utf8

Usage:

>>> hyphenate english_US "supercalifragilisticexpialadocious"
["su","per","cal","ifrag","ilis","tic","ex","pi","al","ado","cious"]
>>> hyphenate english_US "hyphenation"
["hy","phen","ation"]
>>> hyphenate icelandic "va\240lahei\240avegavinnuverkf\230rageymslusk\250r"
["va\240la","hei\240a","vega","vinnu","verk","f\230ra","geymslu","sk\250r"]

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett