Skip to content

Commit 21a348f

Browse files
committed
Improvement
1 parent f68690f commit 21a348f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

detect english/detecting_english_programmatically.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def loadDictionary():
77
path = os.path.split(os.path.realpath(__file__))
8-
dictionaryFile = open(path[0] + '\Dictionary.txt')
8+
dictionaryFile = open(path[0] + '/Dictionary.txt')
99
englishWords = {}
1010
for word in dictionaryFile.read().split('\n'):
1111
englishWords[word] = None

0 commit comments

Comments
 (0)