not sure how much would you be interested in or have leisure for implementing it, but please be aware of such a thing available at
http://buddhistinformatics.ddbc.edu.tw/glossaries/download.php#pali-chin
with some background at http://mbingenheimer.net/tools/paliChinDict/indexPaliChin.html