The process of generating a list of occurrences of a particular word or phrase in a corpus, along with their context.