Open JasonGitHub opened 4 years ago
for row in reader: labels.append(row[0]) sentence = row[1] for word in stopwords: token = " " + word + " "
By checking word_index, for example, "to" appeared. Please kindly fix the issue.
This part of code is buggy, as any stop word appearing at the end of sentence is ignored.
By checking word_index, for example, "to" appeared. Please kindly fix the issue.