Unfortunately, phonetic transcriptions are rarely available, especially for words which originate from other languages, and generating them on the fly is less likely to help.
transliterations from other languages constitute another potential source of information that could be used to approximate the pronunciation in the source language.