hyphenation: Configurable Knuth-Liang hyphenation

[ bsd2, bsd3, 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 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
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.19), 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>
Revised Revision 4 made by ryanglscott at Tue Jul 3 11:19:52 UTC 2018
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 Thu Jan 18 19:49:17 UTC 2018
Distributions LTSHaskell:0.7.1, NixOS:0.7.1, Stackage:0.7.1
Downloads 9078 total (63 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-18 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hyphenation-0.7.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