Skip to content

Commit

Permalink
Sync. Dictionaries/pruned.
Browse files Browse the repository at this point in the history
  • Loading branch information
dweiss committed Jun 7, 2011
1 parent 819183b commit 402f91f
Show file tree
Hide file tree
Showing 6 changed files with 245,984 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
13 changes: 13 additions & 0 deletions src/comp-ccorpus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import sys,re

words = {}
for line in open('ccorpus.txt','r'):
w = line.split()[0]
words[w] = True

print("Read input.")

for line in open('combined.sorted','r'):
w, r = line.split()
if words.has_key(w):
print w + "\t" + r
Loading

0 comments on commit 402f91f

Please sign in to comment.