I understand that a kanji can have several possible readings and several (typically related) meanings. Furthermore, I've noticed that a single reading typically corresponds to some subset of the meanings. To give a brief example:
生 can mean "birth", "genuine", or "life" (according to Kanjidic)
- Pronounced せい it means "life", "living"
- Pronounced なま it means "raw", "natural", etc.
- Pronounced いき it means "lively"
- Pronounced うむ (生む) it means "to give birth", "to produce"
- Pronounced なる (生る) it means "to bear fruit"
- etc.
Is there any resource (book/website/database/etc.) which matches readings to meanings? Bonus points if the resource is easily machine-readable - I'm building some software for which the data would be valuable.