add partial dictionary matching.