Text this: Lexical functions in lexicography and natural language processing