sound-change: Apply sound changes to words
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.
[Skip to Readme]
Downloads
- sound-change-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.9.0.0 && <5), containers (>=0.2.0.0 && <0.8), megaparsec (>=9.0.0 && <10), mtl (>=1.0 && <2.4), parser-combinators (>=0.4.0 && <2), syb (>=0.1.0.0 && <0.8), template-haskell (>=2.5.0.0 && <2.22) [details] |
| License | MIT |
| Author | Owen Bechtel |
| Maintainer | ombspring@gmail.com |
| Category | Language, Linguistics |
| Home page | https://github.com/UnaryPlus/sound-change |
| Bug tracker | https://github.com/UnaryPlus/sound-change/issues |
| Source repo | head: git clone https://github.com/UnaryPlus/sound-change.git |
| Uploaded | by OwenBechtel at 2023-10-14T04:13:23Z |
| Distributions | NixOS:0.1.0.0 |
| Downloads | 68 total (2 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Last success reported on 2023-10-14 [all 1 reports] |