Dictionaries serve as aids to the comprehension (decoding) or to the generation (encoding) of texts in a language or languages.
Lexicography combines the double aim of general collecting of data on the lexicon of a language with providing an information and advisory service to language users