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>
Revised Revision 1 made by ryanglscott at 2020-06-02T13:48:50Z
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 2019-05-18T03:35:54Z
Distributions LTSHaskell:0.7.1, NixOS:0.8, Stackage:0.8
Downloads 17435 total (60 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
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

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.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