Commit 9c2db0d4a5c07581ac9d1570f4b3c661add358f6

Authored by Cristina Muntean
1 parent 0db4b56f

minor

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
merge_wordcount_with_edge_features.py
... ... @@ -57,7 +57,7 @@ def mergeWhitelist(fileList):
57 57  
58 58 tokenDict = dict()
59 59 for cityFilename in fileList:
60   - inputFile = codecs.open(cityFilename, "w", "utf-8")
  60 + inputFile = codecs.open(cityFilename, "r", "utf-8")
61 61 for line in inputFile:
62 62 node = Node.parseString(line)
63 63 if node.description in tokenDict:
... ...