ipa-0.3.1: Internal Phonetic Alphabet (IPA)
Safe HaskellNone
LanguageHaskell2010

Language.IPA.QQ

Contents

Description

 
Synopsis

IPA

syllable :: QuasiQuoter Source #

Construct a compile-time Syllable using IPA notation

>>> [syllable|ɣa˧˨|]
WithSuprasegmentalFeature (LexicalToneContour LowFalling)
  (Syllable [ Consonant (Pulmonic Voiced Velar (Fricative NonSibilant))
            , Vowel (Pure Open Front Unrounded)
            ])

segment :: QuasiQuoter Source #

Construct a compile-time Segment using IPA notation

>>> [segment|ɣ|]
Consonant (Pulmonic Voiced Velar (Fricative NonSibilant))

syllables :: QuasiQuoter Source #

Construct a compile-time [Syllable] using IPA notation

X-SAMPA

segmentXS :: QuasiQuoter Source #

Construct a compile-time Segment using X-SAMPA notation. This may be more convenient than using text values - X-SAMPA inexplicably chose to use backslashes as semantic tokens, which of course must be escaped

>>> [segmentXS|?\|]
Consonant (Pulmonic Voiced Pharyngeal (Fricative NonSibilant))

syllableXS :: QuasiQuoter Source #

Construct a compile-time Syllable using X-SAMPA notation

syllablesXS :: QuasiQuoter Source #

Construct a compile-time [Syllable] using X-SAMPA notation