From 7ef681af84ebd930a0b474ac875f6acc0e91c893 Mon Sep 17 00:00:00 2001 From: cneud Date: Mon, 28 Oct 2019 16:57:03 +0100 Subject: [PATCH] add entity class 'B-PUB' --- ner-edith.js | 4 ++++ ner.edith.html | 1 + 2 files changed, 5 insertions(+) diff --git a/ner-edith.js b/ner-edith.js index ef250bc..e656d5d 100644 --- a/ner-edith.js +++ b/ner-edith.js @@ -85,6 +85,8 @@ function setupInterface(data, file) { $("#table td:contains('I-LOC')").addClass('ner_loc'); $("#table td:contains('B-ORG')").addClass('ner_org'); $("#table td:contains('I-ORG')").addClass('ner_org'); + $("#table td:contains('B-PUB')").addClass('ner_pub'); + $("#table td:contains('I-PUB')").addClass('ner_pub'); $("#table td:contains('B-TODO')").addClass('ner_todo'); $("#table td:contains('I-TODO')").addClass('ner_todo'); } @@ -259,6 +261,7 @@ function setupInterface(data, file) {
B-PER
B-LOC
B-ORG
+
B-PUB
B-TODO
@@ -267,6 +270,7 @@ function setupInterface(data, file) {
I-PER
I-LOC
I-ORG
+
I-PUB
I-TODO
diff --git a/ner.edith.html b/ner.edith.html index d89a672..5c44ebb 100644 --- a/ner.edith.html +++ b/ner.edith.html @@ -26,6 +26,7 @@ .ner_per{background-color:skyblue} .ner_loc{background-color:goldenrod} .ner_org{background-color:plum} + .ner_pub{background-color:lightgreen} .ner_todo{background-color:turquoise} .fit-image{