Emanuela Boros
commited on
Commit
•
71e1eca
1
Parent(s):
79e27f6
url --> wk_url
Browse files- .DS_Store +0 -0
- generic_nel.py +2 -2
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
generic_nel.py
CHANGED
@@ -168,9 +168,9 @@ class NelPipeline(Pipeline):
|
|
168 |
{
|
169 |
# "id": f"{lOffset}:{rOffset}:{enclosed_entity}:{NEL_MODEL}",
|
170 |
"surface": enclosed_entity,
|
171 |
-
"wkpedia_pagename": wkpedia_pagename,
|
172 |
"wkd_id": qid,
|
173 |
-
"
|
|
|
174 |
"type": "UNK",
|
175 |
"confidence_nel": round(percentages[idx], 2),
|
176 |
"lOffset": lOffset,
|
|
|
168 |
{
|
169 |
# "id": f"{lOffset}:{rOffset}:{enclosed_entity}:{NEL_MODEL}",
|
170 |
"surface": enclosed_entity,
|
|
|
171 |
"wkd_id": qid,
|
172 |
+
"wkpedia_pagename": wkpedia_pagename,
|
173 |
+
"wkpedia_url": url,
|
174 |
"type": "UNK",
|
175 |
"confidence_nel": round(percentages[idx], 2),
|
176 |
"lOffset": lOffset,
|