nltk.Text.concordance

Text.concordance(word, width=79, lines=25)[source]

Print a concordance for word with the specified context window. Word matching is not case-sensitive. :seealso: ConcordanceIndex