hyphenation: Configurable Knuth-Liang hyphenation

[ bsd2, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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

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

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.11), containers (>=0.3.0.0 && <0.7), file-embed (>=0.0.7 && <0.1), semigroups (>=0.16 && <0.20), unordered-containers (>=0.2.1 && <0.3), zlib (>=0.5 && <0.7) [details]
Tested with ghc ==7.0.4, ghc ==7.2.2, ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.1
License BSD-2-Clause
Copyright (C) 2012-2016 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 5 made by ryanglscott at 2019-05-10T14:22:36Z
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 2018-01-18T19:49:17Z
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 27973 total (175 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 2018-01-18 [all 1 reports]

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