Portability | portable |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | Trustworthy |
- data Language
- = Afrikaans
- | Basque
- | Bengali
- | Bulgarian
- | Catalan
- | Chinese
- | Coptic
- | Croatian
- | Czech
- | Danish
- | Dutch
- | English_US
- | English_GB
- | Esperanto
- | Estonian
- | Ethiopic
- | Finnish
- | French
- | Friulan
- | Galician
- | German_1901
- | German_1996
- | German_Swiss
- | Greek_Ancient
- | Greek_Mono
- | Greek_Poly
- | Gujarati
- | Hindi
- | Hungarian
- | Icelandic
- | Indonesian
- | Interlingua
- | Irish
- | Italian
- | Kannada
- | Kurmanji
- | Lao
- | Latin
- | Latvian
- | Lithuanian
- | Malayalam
- | Marathi
- | Mongolian
- | Norwegian_Bokmal
- | Norwegian_Nynorsk
- | Oriya
- | Panjabi
- | Piedmontese
- | Polish
- | Portuguese
- | Romanian
- | Romansh
- | Russian
- | Sanskrit
- | Serbian_Cyrillic
- | Serbocroatian_Cyrillic
- | Serbocroatian_Latin
- | Slovak
- | Slovenian
- | Spanish
- | Swedish
- | Tamil
- | Telugu
- | Thai
- | Turkish
- | Turkmen
- | Ukrainian
- | Uppersorbian
- | Welsh
- languageHyphenator :: Language -> Hyphenator
- afrikaans :: Hyphenator
- basque :: Hyphenator
- bengali :: Hyphenator
- bulgarian :: Hyphenator
- catalan :: Hyphenator
- chinese :: Hyphenator
- coptic :: Hyphenator
- croatian :: Hyphenator
- czech :: Hyphenator
- danish :: Hyphenator
- dutch :: Hyphenator
- english_US :: Hyphenator
- english_GB :: Hyphenator
- esperanto :: Hyphenator
- estonian :: Hyphenator
- ethiopic :: Hyphenator
- finnish :: Hyphenator
- french :: Hyphenator
- friulan :: Hyphenator
- galician :: Hyphenator
- german_1901 :: Hyphenator
- german_1996 :: Hyphenator
- german_Swiss :: Hyphenator
- greek_Ancient :: Hyphenator
- greek_Mono :: Hyphenator
- greek_Poly :: Hyphenator
- gujarati :: Hyphenator
- hindi :: Hyphenator
- hungarian :: Hyphenator
- icelandic :: Hyphenator
- indonesian :: Hyphenator
- interlingua :: Hyphenator
- irish :: Hyphenator
- italian :: Hyphenator
- kannada :: Hyphenator
- kurmanji :: Hyphenator
- lao :: Hyphenator
- latin :: Hyphenator
- latvian :: Hyphenator
- lithuanian :: Hyphenator
- malayalam :: Hyphenator
- marathi :: Hyphenator
- mongolian :: Hyphenator
- norwegian_Bokmal :: Hyphenator
- norwegian_Nynorsk :: Hyphenator
- oriya :: Hyphenator
- panjabi :: Hyphenator
- piedmontese :: Hyphenator
- polish :: Hyphenator
- portuguese :: Hyphenator
- romanian :: Hyphenator
- romansh :: Hyphenator
- russian :: Hyphenator
- sanskrit :: Hyphenator
- serbian_Cyrillic :: Hyphenator
- serbocroatian_Cyrillic :: Hyphenator
- serbocroatian_Latin :: Hyphenator
- slovak :: Hyphenator
- slovenian :: Hyphenator
- spanish :: Hyphenator
- swedish :: Hyphenator
- tamil :: Hyphenator
- telugu :: Hyphenator
- thai :: Hyphenator
- turkish :: Hyphenator
- turkmen :: Hyphenator
- ukrainian :: Hyphenator
- uppersorbian :: Hyphenator
- welsh :: Hyphenator
- loadHyphenator :: String -> IO Hyphenator
- languageAffix :: Language -> String
Pattern file support
A strongly typed set of available languages you can use for hyphenation.
languageHyphenator :: Language -> HyphenatorSource
Load (and cache) the hyphenator for a given language.
Provided language hyphenators
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
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
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
>>>
hyphenate french "anticonstitutionnellement"
["an","ti","cons","ti","tu","tion","nel","le","ment"]
Hyphenators for a wide array of languages.
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.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
>>>
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.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
lithuanian :: HyphenatorSource
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
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.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
piedmontese :: HyphenatorSource
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
portuguese :: HyphenatorSource
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
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.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
Hyphenators for a wide array of languages.
uppersorbian :: HyphenatorSource
Hyphenators for a wide array of languages.
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