#
# Tested using nltk 3.5
#
# Code is based on the following article:
#
# https://realpython.com/nltk-nlp-python/
#

import nltk
from nltk.book import *

print(text8.concordance("man"))
print(3 * '\n')

print(text8.concordance("woman"))
