lexicographer

 a person who compiles or edits a dictionary




A dedicated lexicographer had compiled a dictionary containing a million words.