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]

Flags

Automatic Flags
NameDescriptionDefault
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)

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 0.8.1, 0.8.2
Change log CHANGELOG.markdown
Dependencies base (>=4 && <5), bytestring (>=0.9 && <0.12), 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-2019 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 ryanglscott at 2021-02-17T14:48:21Z
Distributions Arch:0.8.2, LTSHaskell:0.8.2, NixOS:0.8.2, Stackage:0.8.2
Reverse Dependencies 6 direct, 6 indirect [details]
Downloads 26822 total (214 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-02-17 [all 1 reports]

Readme for hyphenation-0.8.1

[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