Safe Haskell | None |
---|
- data Tone
- = Flat
- | Rising
- | FallingRising
- | Falling
- | Neutral
- toneNumber :: Tone -> Int
- toneCombiningMark :: Tone -> Maybe Char
- combiningMarkTone :: Char -> Maybe Tone
- data Phone = Phone {}
- fromAccented :: Text -> Phone
- toAccented :: Phone -> Text
Documentation
toneNumber :: Tone -> IntSource
toneCombiningMark :: Tone -> Maybe CharSource
Returns the Unicode combining character used to produce the accent for this tone. Returns Nothing if no accent is required.
combiningMarkTone :: Char -> Maybe ToneSource
Returns the tone associated with this Unicode combining character, if any.
fromAccented :: Text -> PhoneSource
toAccented :: Phone -> TextSource