sound-change

Version 0.1.0.0 revision 0 uploaded by OwenBechtel.

Package meta

Synopsis
Apply sound changes to words
Description

Example usage:

{-# LANGUAGE QuasiQuotes #-}
import Language.Change (Change, applyChanges)
import Language.Change.Quote

setV = "aeiou"

changes :: [Change Char]
changes = [chs|
  * { k > tʃ; g > dʒ } / _i
  * i > e / _i
    u > o / _u
  * { p > b; t > d } / V_{Vlr}
  * a > e / _V!*i
  |]

results = map (applyChanges changes) [ "kiis", "kapir", "atri" ]
-- [ "tʃeis", "kebir", "edri" ]

See the module documentation for more information.

Author
Owen Bechtel
Bug reports
https://github.com/UnaryPlus/sound-change/issues
Category
Language, Linguistics
Copyright
n/a
Homepage
https://github.com/UnaryPlus/sound-change
Maintainer
ombspring@gmail.com
Package URL
n/a
Stability
n/a

Components