a dictionary parser