add multi-dictionary support

![multi-dict](https://f.cloud.github.com/assets/751535/831340/ed367c4e-f1d1-11e2-8d81-ba967aa4d2f8.gif)