concordance(enron.sample[1], enron.sample[2], enron.sample[3:49], "wants to", token.type = "word")
#using wildcards
concordance(enron.sample[1], enron.sample[2], enron.sample[3:49], "want * to", token.type = "word")
#searching character sequences with wildcards
concordance(enron.sample[1], enron.sample[2], enron.sample[3:49], "help*", token.type = "character")
Run the code above in your browser using DataLab