Analyse, sort, classify and mark up: text encoding and its debt to historical dictionaries and word lists