We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f68690f commit 21a348fCopy full SHA for 21a348f
detect english/detecting_english_programmatically.py
@@ -5,7 +5,7 @@
5
6
def loadDictionary():
7
path = os.path.split(os.path.realpath(__file__))
8
- dictionaryFile = open(path[0] + '\Dictionary.txt')
+ dictionaryFile = open(path[0] + '/Dictionary.txt')
9
englishWords = {}
10
for word in dictionaryFile.read().split('\n'):
11
englishWords[word] = None
0 commit comments