lexicography

the writing or compiling of dictionaries.