From 6e6ca4b696eabe27e13356aa147ccefc7ce5e4ad Mon Sep 17 00:00:00 2001 From: cneud Date: Tue, 30 Jul 2019 13:03:59 +0200 Subject: [PATCH] styling --- ner.ed.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/ner.ed.html b/ner.ed.html index c811479..3185898 100644 --- a/ner.ed.html +++ b/ner.ed.html @@ -6,16 +6,19 @@

ner.edith: named entity recognition editor in html

- Please upload a TSV (tab-separated-values) file in the GermEval2014 data format:

+ Please upload a TSV (tab-separated-values) file in the GermEval2014 data format[i]:

@@ -77,7 +80,7 @@ makeTdEditable(target); } - }; + } function makeTdEditable(td) { editingTd = { @@ -113,7 +116,13 @@ } $(document).ready(function() { - $("#tsv-file").change(handleFileSelect); + $('#tsv-file').change(handleFileSelect); + $("#table tr:contains('B-PER')").addClass('ner_per'); + $("#table tr:contains('I-PER')").addClass('ner_per'); + $("#table tr:contains('B-LOC')").addClass('ner_loc'); + $("#table tr:contains('I-LOC')").addClass('ner_loc'); + $("#table tr:contains('B-ORG')").addClass('ner_org'); + $("#table tr:contains('B-ORG')").addClass('ner_org'); });