Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ import csv
|
|
34 |
abbreviations_dict = {}
|
35 |
with open('sms.csv', mode='r', encoding='utf-8') as infile:
|
36 |
# Specify the delimiter as a tab character
|
37 |
-
reader = csv.reader(infile, delimiter='
|
38 |
for row in reader:
|
39 |
if len(row) >= 2:
|
40 |
abbreviations_dict[row[0].strip().upper()] = row[1].strip()
|
|
|
34 |
abbreviations_dict = {}
|
35 |
with open('sms.csv', mode='r', encoding='utf-8') as infile:
|
36 |
# Specify the delimiter as a tab character
|
37 |
+
reader = csv.reader(infile, delimiter=',')
|
38 |
for row in reader:
|
39 |
if len(row) >= 2:
|
40 |
abbreviations_dict[row[0].strip().upper()] = row[1].strip()
|