Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refine NER. #102

Merged
merged 3 commits into from
Jun 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 2 additions & 0 deletions sequence_tagging_for_ner/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.pyc
*.tar.gz
269 changes: 91 additions & 178 deletions sequence_tagging_for_ner/README.md

Large diffs are not rendered by default.

123 changes: 0 additions & 123 deletions sequence_tagging_for_ner/conll03.py

This file was deleted.

14 changes: 10 additions & 4 deletions sequence_tagging_for_ner/data/download.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
wget http://cs224d.stanford.edu/assignment2/assignment2.zip
unzip assignment2.zip
cp assignment2_release/data/ner/wordVectors.txt data/
cp assignment2_release/data/ner/vocab.txt data/
rm -rf assignment2.zip assignment2_release

if [ $? -eq 0 ];then
unzip assignment2.zip
cp assignment2_release/data/ner/wordVectors.txt ./data
cp assignment2_release/data/ner/vocab.txt ./data
rm -rf assignment2.zip assignment2_release
else
echo "download data error!" >> /dev/stderr
exit 1
fi

2 changes: 0 additions & 2 deletions sequence_tagging_for_ner/data/test
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-DOCSTART- -X- O O

CRICKET NNP I-NP O
- : O O
LEICESTERSHIRE NNP I-NP I-ORG
Expand Down
2 changes: 0 additions & 2 deletions sequence_tagging_for_ner/data/train
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
-DOCSTART- -X- O O

EU NNP I-NP I-ORG
rejects VBZ I-VP O
German JJ I-NP I-MISC
Expand Down
Loading