A dictionary or other reference book that lists words; a lexicon, vocabulary.
The libretto of an opera.