hyphenation-0.4: Configurable Knuth-Liang hyphenation

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Text.Hyphenation.Language

Contents

Description

 

Synopsis

Pattern file support

languageHyphenator :: Language -> HyphenatorSource

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

Provided language hyphenators

afrikaans :: HyphenatorSource

Hyphenators for a wide array of languages.

basque :: HyphenatorSource

Hyphenators for a wide array of languages.

bengali :: HyphenatorSource

Hyphenators for a wide array of languages.

bulgarian :: HyphenatorSource

Hyphenators for a wide array of languages.

catalan :: HyphenatorSource

Hyphenators for a wide array of languages.

chinese :: HyphenatorSource

Hyphenators for a wide array of languages.

coptic :: HyphenatorSource

Hyphenators for a wide array of languages.

croatian :: HyphenatorSource

Hyphenators for a wide array of languages.

czech :: HyphenatorSource

Hyphenators for a wide array of languages.

danish :: HyphenatorSource

Hyphenators for a wide array of languages.

dutch :: HyphenatorSource

Hyphenators for a wide array of languages.

english_US :: HyphenatorSource

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

favors US hyphenation

english_GB :: HyphenatorSource

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

favors UK hyphenation

esperanto :: HyphenatorSource

Hyphenators for a wide array of languages.

estonian :: HyphenatorSource

Hyphenators for a wide array of languages.

ethiopic :: HyphenatorSource

Hyphenators for a wide array of languages.

finnish :: HyphenatorSource

Hyphenators for a wide array of languages.

french :: HyphenatorSource

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

friulan :: HyphenatorSource

Hyphenators for a wide array of languages.

galician :: HyphenatorSource

Hyphenators for a wide array of languages.

german_1901 :: HyphenatorSource

Hyphenators for a wide array of languages.

german_1996 :: HyphenatorSource

Hyphenators for a wide array of languages.

german_Swiss :: HyphenatorSource

Hyphenators for a wide array of languages.

greek_Ancient :: HyphenatorSource

Hyphenators for a wide array of languages.

greek_Mono :: HyphenatorSource

Hyphenators for a wide array of languages.

greek_Poly :: HyphenatorSource

Hyphenators for a wide array of languages.

gujarati :: HyphenatorSource

Hyphenators for a wide array of languages.

hindi :: HyphenatorSource

Hyphenators for a wide array of languages.

hungarian :: HyphenatorSource

Hyphenators for a wide array of languages.

icelandic :: HyphenatorSource

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

indonesian :: HyphenatorSource

Hyphenators for a wide array of languages.

interlingua :: HyphenatorSource

Hyphenators for a wide array of languages.

irish :: HyphenatorSource

Hyphenators for a wide array of languages.

italian :: HyphenatorSource

Hyphenators for a wide array of languages.

kannada :: HyphenatorSource

Hyphenators for a wide array of languages.

kurmanji :: HyphenatorSource

Hyphenators for a wide array of languages.

lao :: HyphenatorSource

Hyphenators for a wide array of languages.

latin :: HyphenatorSource

Hyphenators for a wide array of languages.

latvian :: HyphenatorSource

Hyphenators for a wide array of languages.

lithuanian :: HyphenatorSource

Hyphenators for a wide array of languages.

malayalam :: HyphenatorSource

Hyphenators for a wide array of languages.

marathi :: HyphenatorSource

Hyphenators for a wide array of languages.

mongolian :: HyphenatorSource

Hyphenators for a wide array of languages.

norwegian_Bokmal :: HyphenatorSource

Hyphenators for a wide array of languages.

norwegian_Nynorsk :: HyphenatorSource

Hyphenators for a wide array of languages.

oriya :: HyphenatorSource

Hyphenators for a wide array of languages.

panjabi :: HyphenatorSource

Hyphenators for a wide array of languages.

piedmontese :: HyphenatorSource

Hyphenators for a wide array of languages.

polish :: HyphenatorSource

Hyphenators for a wide array of languages.

portuguese :: HyphenatorSource

Hyphenators for a wide array of languages.

romanian :: HyphenatorSource

Hyphenators for a wide array of languages.

romansh :: HyphenatorSource

Hyphenators for a wide array of languages.

russian :: HyphenatorSource

Hyphenators for a wide array of languages.

sanskrit :: HyphenatorSource

Hyphenators for a wide array of languages.

serbian_Cyrillic :: HyphenatorSource

Hyphenators for a wide array of languages.

serbocroatian_Cyrillic :: HyphenatorSource

Hyphenators for a wide array of languages.

serbocroatian_Latin :: HyphenatorSource

Hyphenators for a wide array of languages.

slovak :: HyphenatorSource

Hyphenators for a wide array of languages.

slovenian :: HyphenatorSource

Hyphenators for a wide array of languages.

spanish :: HyphenatorSource

Hyphenators for a wide array of languages.

swedish :: HyphenatorSource

Hyphenators for a wide array of languages.

tamil :: HyphenatorSource

Hyphenators for a wide array of languages.

telugu :: HyphenatorSource

Hyphenators for a wide array of languages.

thai :: HyphenatorSource

Hyphenators for a wide array of languages.

turkish :: HyphenatorSource

Hyphenators for a wide array of languages.

turkmen :: HyphenatorSource

Hyphenators for a wide array of languages.

ukrainian :: HyphenatorSource

Hyphenators for a wide array of languages.

uppersorbian :: HyphenatorSource

Hyphenators for a wide array of languages.

welsh :: HyphenatorSource

Hyphenators for a wide array of languages.

loadHyphenator :: String -> IO HyphenatorSource

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

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