Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
unknown 7229
gem 1063
2 changes: 0 additions & 2 deletions PET/04-PET-NER.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,13 +410,11 @@ def biolabel_ner_data(eco_curecosys, curecosys, rseed):
if curwordcache != '':
hitfullwordslist.append(curwordcache)
curwordcache = ''
=
for onetagword in hitfullwordslist:
if onetagword.lower() == curlabel.lower():
curHIT = True
print(curcve, curlabel, str(curRTN))
totalcvehitset.add(curcve)
=
if curHIT:
totalhit += 1
print(totalhit, totalnum, round(totalhit / totalnum, 2))
Expand Down
9 changes: 9 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cpe==1.2.1
datasketch
deeppavlov
elasticsearch
numpy
spacy
textacy
tldextract
tqdm