Added caching for zhuyin and pinyin lookup