typeerror 3a 27lazycorpusloader 27 object is not callable

Solutions on MaxInterview for typeerror 3a 27lazycorpusloader 27 object is not callable by the best coders in the world

showing results for - "typeerror 3a 27lazycorpusloader 27 object is not callable"
Andrea
27 Nov 2018
1you are using stopwords as a function instead of stopwords.words
2replace stopwords('english') with stopwords.words('english')
3for i in range(len(sentence) - 1):
4        if ( sentence[i][1] == "JJ"  and sentence[i+1][0] in stopwords.words('english') ):
5            return concept
6