Skip to content

phones#

phones is a python library for the easy handling of phones in the International Phonetic Alphabet. These IPA phones can be useful because they can describe how words are pronounced in most languages.

Feature Overview#

  • Extract numeric feature vectors from phones.
  • Map phones from one language to another by finding the closest phones.
  • Convert between ARPABET, X-SAMPA/SAMPA, IPA, DISC and CALLHOME notation.
  • Compute phone distances.
  • Do phone arithmetic on a phone and phone-feature level.
  • Visualise phones and their distances when installing phones[plots].

Installation#

For the core libary:

1
pip install phones

For plotting:

1
pip install phones[plots]

Note

This is the 0.0.2 release of this library, and things might be unstable.

Please report issues to https://github.com/MiniXC/phones