Copyright | (c) 2021 Rory Tyler Hayford |
---|---|
License | BSD-3-Clause |
Maintainer | rory.hayford@protonmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Working with IPA/X-SAMPA transcriptions and phonetic/phonemic values
Synopsis
- transcribe :: Delimiter -> IPA -> Text
- transcribeXSampa :: Delimiter -> XSampa -> Text
- ipaToXSampa :: IPA -> Maybe XSampa
- xSampaToIpa :: XSampa -> Maybe IPA
- toIPA' :: ReprIPA a => a -> IPA
- toXSampa' :: ReprXSampa a => a -> XSampa
- isValid :: forall a. ReprIPA a => Text -> Bool
- isValidSegment :: Text -> Bool
- isValidSyllable :: Text -> Bool
- isObstruent :: Segment -> Bool
- isSonorant :: Segment -> Bool
- isLabial :: Consonant -> Bool
- isCoronal :: Consonant -> Bool
- isDorsal :: Consonant -> Bool
- isLaryngeal :: Consonant -> Bool
- isRhotic :: Consonant -> Bool
- isLiquid :: Consonant -> Bool
- module Language.IPA.Types
- module Language.IPA.QQ
- module Language.IPA.Parser
- module Language.IPA.Class
Utilities
Transcription
transcribeXSampa :: Delimiter -> XSampa -> Text Source #
As transcribe
, for XSampa
values
Conversion
Construction
toIPA' :: ReprIPA a => a -> IPA Source #
Partial function for creating an IPA
. Useful if you are certain that
the sound in question is representable
toXSampa' :: ReprXSampa a => a -> XSampa Source #
Predicates
isObstruent :: Segment -> Bool Source #
Tests if a Segment
is obstruent, i.e. formed by obstructing airflow
isSonorant :: Segment -> Bool Source #
Tests if Segment
is sonorant, i.e. if it is created with an uninterrupted
flow of air
isLabial :: Consonant -> Bool Source #
Tests pulmonic Consonant
membership in the labial category, whose
active articulator is one or both lips
isCoronal :: Consonant -> Bool Source #
Tests pulmonic Consonant
membership in the coronal class, whose
active articulator is the front of the tongue
isDorsal :: Consonant -> Bool Source #
Tests pulmonic Consonant
membership in the dorsal class, whose
active articulator is the dorsum (back of the tongue)
isLaryngeal :: Consonant -> Bool Source #
Tests pulmonic Consonant
membership in the laryngeal class, whose
active articulator is the larynx
isRhotic :: Consonant -> Bool Source #
Tests if Consonant
is rhotic, a vague category of R-like sounds typically
represented lexicographically by some variant of the Latin letter r
isLiquid :: Consonant -> Bool Source #
Tests if a Consonant
is liquid, a category of rhotics and voiced
lateral approximants
Re-exports
module Language.IPA.Types
module Language.IPA.QQ
module Language.IPA.Parser
module Language.IPA.Class