Improving accuracy using a dictionary