application_vnd.jupyter.stderr_output_1.png
import spacy

f = open('/kaggle/input/harry-potter-sorcerers-stone/Harry-potter-sorcerers-stone.txt', 'r')
hp_book = ''
lines = []
for line in f:
    stripped_line = line.rstrip() + ' '
    hp_book += stripped_line
    lines.append(line)
f.close()
nlp = spacy.load('en_core_web_lg')
doc = nlp(hp_book)