TypeError: 'LazyCorpusLoader' object is not callable code example
Example: TypeError: 'LazyCorpusLoader' object is not callable
you are using stopwords as a function instead of stopwords.words
replace stopwords('english') with stopwords.words('english')
for i in range(len(sentence) - 1):
if ( sentence[i][1] == "JJ" and sentence[i+1][0] in stopwords.words('english') ):
return concept