Commit f40b7b877eb5eed5df56afc5eed7b08e0a7b1942

Authored by Cristina Muntean
1 parent 3714f1d3

minor

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
merge_wordcount_with_edge_features.py
... ... @@ -85,7 +85,7 @@ def mergeBlackList(city, cityFile):
85 85 filetype = cityFile.split("/")[-1].replace(city, "")
86 86 for filename in os.listdir(fileDir):
87 87 if city not in filename and filetype in filename:
88   - inputFile = codecs.open(filename, "w", "utf-8")
  88 + inputFile = codecs.open(filename, "r", "utf-8")
89 89 for line in inputFile:
90 90 node = Node.parseString(line)
91 91 if node.description in tokenDict:
... ...