Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekmett/hyphenation
Knuth-Liang Hyphenation for Haskell based on TeX hyphenation files
https://github.com/ekmett/hyphenation
Last synced: 21 days ago
JSON representation
Knuth-Liang Hyphenation for Haskell based on TeX hyphenation files
- Host: GitHub
- URL: https://github.com/ekmett/hyphenation
- Owner: ekmett
- License: other
- Created: 2012-02-11T00:47:18.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-02-08T11:32:54.000Z (9 months ago)
- Last Synced: 2024-05-08T20:16:08.736Z (6 months ago)
- Language: Haskell
- Homepage:
- Size: 3.72 MB
- Stars: 32
- Watchers: 9
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.markdown
- Changelog: CHANGELOG.markdown
- License: LICENSE
Awesome Lists containing this project
README
hyphenation
===========[![Hackage](https://img.shields.io/hackage/v/hyphenation.svg)](https://hackage.haskell.org/package/hyphenation) [![Build Status](https://github.com/ekmett/hyphenation/workflows/Haskell-CI/badge.svg)](https://github.com/ekmett/hyphenation/actions?query=workflow%3AHaskell-CI)
Configurable Knuth-Liang hyphenation using the UTF8 encoded hyphenation patterns provided by [hyph-utf8](http://www.ctan.org/tex-archive/language/hyph-utf8)
Usage:
```haskell
>>> hyphenate english_US "supercalifragilisticexpialadocious"
["su","per","cal","ifrag","ilis","tic","ex","pi","al","ado","cious"]
``````haskell
>>> hyphenate english_US "hyphenation"
["hy","phen","ation"]
``````haskell
>>> 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