I'm looking for a basic phoneme-grapheme alignment algorithm which can be called in Python from a machine running OS X. So far the only implementations I've been able to find are part of larger C++ libraries (here and here) which seem like they would be overkill to install, especially given the added difficulty of getting them running on an OS X machine.
Does anyone know of a good standalone P2G implementation written in Python? Maybe something living in a git gist somewhere?