lexicographer

a writer or compiler of a dictionary.