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