Python library for the symbolic manipulation of phoneme representations
Project description
maniphono
Python library for the symbolic manipulation of phoneme representations
Installation
In any standard Python environment, maniphono
can be installed with:
$ pip install maniphono
Example usage
>>> import maniphono
>>> snd1 = maniphono.Sound(maniphono.IPA, "p")
>>> snd1
voiceless bilabial plosive consonant
>>> str(snd1)
'p'
>>> snd2 = snd1 + "voiced,alveolar"
>>> str(snd2)
'd'
TODO:
- Add disjoint contraints to
model.py
- Consider expanding checks in
model.parse_constraints()
to evaluate non-shallow constraints (from different layers); this is not such a problem for the data as it is, because graphemes will be rejected if necessary, but it would be nice to have such a check in the function (it involves building a tree of contraints, which is interesting and potentially useful in itself) - Consider adding option in
model.py
to Unicode-normalize graphemes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
maniphono-0.1.tar.gz
(19.7 kB
view hashes)
Built Distribution
maniphono-0.1-py3-none-any.whl
(21.4 kB
view hashes)