Does anyone know of an off-the-shelf database that provides phonetic (kana) readings for Jap开发者_StackOverflowanese words?
Assuming what you actually mean is you want a computer readable offline Japanese dictionary then look at JMDict (or the older edict) are Japanese dictionaries which have reading entries (in Kanji/Kana) with an associated kana reading element. The JMDict is in XML so it is pretty simple to use with most projects.
http://kakasi.namazu.org/index.html.ja is another option, however be aware that whatever solution you choose, the mapping isn't 1 to 1. Without sufficient context, there will be many cases where the proper reading is ambiguous.
One project that comes to mind is Gozoku, which comes with a English<->Japanese SQLite database, as well as kana readings for Japanese words. I haven't taken a look at the schema, but you might find what you're looking for in there.
精彩评论