ipa-translate is a Rust crate implementing multiple common standards for converting ASCII text into Unicode IPA (International Phonetic Alphabet) text. The currently implemented standards are:
As with practically any other Rust crate, ipa-translate is hosted on crates.io, and has a GitHub page using which you may clone the source directly or contribute to the project. To add ipa-translate to your Cargo-based Rust project, run:
To clone the source from GitHub, run:
ipa-translate 0.1.8+ has only one dependency, lazy-static, which a massive number of other crates already depend on, so no other dependencies will be added if you choose to use it in any reasonably sized project. The core functionality of ipa-translate, the actual ASCII-IPA translation, is done using functions from the Rust standard library since version 0.1.8+, keeping the implementation minimal and fast.
The source example in the README explains the usage well:
/translations/branner.rs
for details./translation/sil.rs
for details.
This work by tirimid is licensed under CC BY-SA 4.0