hyphenation-0.8: Configurable Knuth-Liang hyphenation

Copyright(C) 2012-2015 Edward Kmett
(C) 2007 Ned Batchelder
LicenseBSD-style (see the languageAffix LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell98

Text.Hyphenation.Language

Contents

Description

 
Synopsis

Pattern file support

data Language Source #

A strongly typed set of available languages you can use for hyphenation.

languageHyphenator :: Language -> Hyphenator Source #

Load (and cache) the hyphenator for a given language.

Provided language hyphenators

afrikaans :: Hyphenator Source #

Hyphenators for a wide array of languages.

armenian :: Hyphenator Source #

Hyphenators for a wide array of languages.

assamese :: Hyphenator Source #

Hyphenators for a wide array of languages.

basque :: Hyphenator Source #

Hyphenators for a wide array of languages.

bengali :: Hyphenator Source #

Hyphenators for a wide array of languages.

bulgarian :: Hyphenator Source #

Hyphenators for a wide array of languages.

catalan :: Hyphenator Source #

Hyphenators for a wide array of languages.

chinese :: Hyphenator Source #

Hyphenators for a wide array of languages.

coptic :: Hyphenator Source #

Hyphenators for a wide array of languages.

croatian :: Hyphenator Source #

Hyphenators for a wide array of languages.

czech :: Hyphenator Source #

Hyphenators for a wide array of languages.

danish :: Hyphenator Source #

Hyphenators for a wide array of languages.

dutch :: Hyphenator Source #

Hyphenators for a wide array of languages.

english_US :: Hyphenator Source #

>>> hyphenate english_US "supercalifragilisticexpialadocious"
["su","per","cal","ifrag","ilis","tic","ex","pi","al","ado","cious"]

favors US hyphenation

english_GB :: Hyphenator Source #

>>> hyphenate english_GB "supercalifragilisticexpialadocious"
["su","per","cal","i","fra","gil","istic","ex","pi","alado","cious"]

favors UK hyphenation

esperanto :: Hyphenator Source #

Hyphenators for a wide array of languages.

estonian :: Hyphenator Source #

Hyphenators for a wide array of languages.

ethiopic :: Hyphenator Source #

Hyphenators for a wide array of languages.

finnish :: Hyphenator Source #

Hyphenators for a wide array of languages.

french :: Hyphenator Source #

>>> hyphenate french "anticonstitutionnellement"
["an","ti","cons","ti","tu","tion","nel","le","ment"]

friulan :: Hyphenator Source #

Hyphenators for a wide array of languages.

galician :: Hyphenator Source #

Hyphenators for a wide array of languages.

georgian :: Hyphenator Source #

Hyphenators for a wide array of languages.

german_1901 :: Hyphenator Source #

Hyphenators for a wide array of languages.

german_1996 :: Hyphenator Source #

Hyphenators for a wide array of languages.

german_Swiss :: Hyphenator Source #

Hyphenators for a wide array of languages.

greek_Ancient :: Hyphenator Source #

Hyphenators for a wide array of languages.

greek_Mono :: Hyphenator Source #

Hyphenators for a wide array of languages.

greek_Poly :: Hyphenator Source #

Hyphenators for a wide array of languages.

gujarati :: Hyphenator Source #

Hyphenators for a wide array of languages.

hindi :: Hyphenator Source #

Hyphenators for a wide array of languages.

hungarian :: Hyphenator Source #

Hyphenators for a wide array of languages.

icelandic :: Hyphenator Source #

>>> hyphenate icelandic "va\240lahei\240avegavinnuverkf\230rageymslusk\250r"
["va\240la","hei\240a","vega","vinnu","verk","f\230ra","geymslu","sk\250r"]

indonesian :: Hyphenator Source #

Hyphenators for a wide array of languages.

interlingua :: Hyphenator Source #

Hyphenators for a wide array of languages.

irish :: Hyphenator Source #

Hyphenators for a wide array of languages.

italian :: Hyphenator Source #

Hyphenators for a wide array of languages.

kannada :: Hyphenator Source #

Hyphenators for a wide array of languages.

kurmanji :: Hyphenator Source #

Hyphenators for a wide array of languages.

latin :: Hyphenator Source #

Hyphenators for a wide array of languages.

latin_Classic :: Hyphenator Source #

Hyphenators for a wide array of languages.

latvian :: Hyphenator Source #

Hyphenators for a wide array of languages.

lithuanian :: Hyphenator Source #

Hyphenators for a wide array of languages.

malayalam :: Hyphenator Source #

Hyphenators for a wide array of languages.

marathi :: Hyphenator Source #

Hyphenators for a wide array of languages.

mongolian :: Hyphenator Source #

Hyphenators for a wide array of languages.

norwegian_Bokmal :: Hyphenator Source #

Hyphenators for a wide array of languages.

norwegian_Nynorsk :: Hyphenator Source #

Hyphenators for a wide array of languages.

occitan :: Hyphenator Source #

Hyphenators for a wide array of languages.

oriya :: Hyphenator Source #

Hyphenators for a wide array of languages.

panjabi :: Hyphenator Source #

Hyphenators for a wide array of languages.

piedmontese :: Hyphenator Source #

Hyphenators for a wide array of languages.

polish :: Hyphenator Source #

Hyphenators for a wide array of languages.

portuguese :: Hyphenator Source #

Hyphenators for a wide array of languages.

romanian :: Hyphenator Source #

Hyphenators for a wide array of languages.

romansh :: Hyphenator Source #

Hyphenators for a wide array of languages.

russian :: Hyphenator Source #

Hyphenators for a wide array of languages.

sanskrit :: Hyphenator Source #

Hyphenators for a wide array of languages.

serbian_Cyrillic :: Hyphenator Source #

Hyphenators for a wide array of languages.

serbocroatian_Cyrillic :: Hyphenator Source #

Hyphenators for a wide array of languages.

serbocroatian_Latin :: Hyphenator Source #

Hyphenators for a wide array of languages.

slovak :: Hyphenator Source #

Hyphenators for a wide array of languages.

slovenian :: Hyphenator Source #

Hyphenators for a wide array of languages.

spanish :: Hyphenator Source #

Hyphenators for a wide array of languages.

swedish :: Hyphenator Source #

Hyphenators for a wide array of languages.

tamil :: Hyphenator Source #

Hyphenators for a wide array of languages.

telugu :: Hyphenator Source #

Hyphenators for a wide array of languages.

thai :: Hyphenator Source #

Hyphenators for a wide array of languages.

turkish :: Hyphenator Source #

Hyphenators for a wide array of languages.

turkmen :: Hyphenator Source #

Hyphenators for a wide array of languages.

ukrainian :: Hyphenator Source #

Hyphenators for a wide array of languages.

uppersorbian :: Hyphenator Source #

Hyphenators for a wide array of languages.

welsh :: Hyphenator Source #

Hyphenators for a wide array of languages.

loadHyphenator :: Language -> IO Hyphenator Source #

Read a built-in language file from the data directory where cabal installed this package.

(e.g. hyphenateLanguage "en-us" opens "/Users/ekmett/.cabal/share/hyphenation-0.2/ghc-7.4.1/hyph-en-us.hyp.txt" among others when run on the author's local machine)

languageAffix :: Language -> String Source #

the infix portion of the data file names used for this language