Skip to content

Commit

Permalink
intial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dobin committed May 6, 2018
1 parent a2f573e commit 7f01d3c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions corpusparser.py
@@ -0,0 +1,21 @@
import os

directory = "./"

res = {}

for filename in os.listdir(directory):
time = os.path.getmtime(directory + filename)
time = int(time)
print filename + ": " + str(time)
res[time] = filename

minimum = None
for key in sorted(res):
if minimum is None:
minimum = key

t = key - minimum
print str(t) + ": " + res[key]


0 comments on commit 7f01d3c

Please sign in to comment.