Skip to content

Commit

Permalink
READY TO GO
Browse files Browse the repository at this point in the history
  • Loading branch information
jcyk committed Apr 21, 2017
0 parents commit e4f761e
Show file tree
Hide file tree
Showing 34 changed files with 1,947,626 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

*.pyc
/idioms/*
7 changes: 7 additions & 0 deletions cleargit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
git checkout --orphan latest_branch
git add -A
git commit -am "READY TO GO"
git branch -D master
git branch -m master
git push -f origin master
14,432 changes: 14,432 additions & 0 deletions data/as_test

Large diffs are not rendered by default.

708,953 changes: 708,953 additions & 0 deletions data/as_train_all

Large diffs are not rendered by default.

1,493 changes: 1,493 additions & 0 deletions data/cityu_test

Large diffs are not rendered by default.

53,019 changes: 53,019 additions & 0 deletions data/cityu_train_all

Large diffs are not rendered by default.

Empty file added data/dic
Empty file.
10 changes: 10 additions & 0 deletions data/dic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: UTF-8 -*-
words = set()
with open('pku_train_all') as f:
for line in f.readlines():
sent = unicode(line.decode('utf8')).split()
for word in sent:
words.add(word)
for word in words:
print word.encode('utf8')

8,693 changes: 8,693 additions & 0 deletions data/msr_dev

Large diffs are not rendered by default.

Loading

0 comments on commit e4f761e

Please sign in to comment.