Skip to content

Commit 87b15ab

Browse files
committed
I want to know are you clean the datas by Lemmatization?
1 created online with Bitbucket
1 parent 62ec853 commit 87b15ab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import csv
2+
3+
with open('test_set_x.csv') as csvfile:
4+
readCSV = csv.reader(csvfile, delimiter=',')
5+
from nltk.stem import WordNetLemmatizer
6+
7+
lemmatizer = WordNetLemmatizer()
8+

0 commit comments

Comments
 (0)