update readmdict.py from xwang/mdict-analysis