mirror of
https://github.com/qurator-spk/neat.git
synced 2025-06-09 19:59:55 +02:00
add type 'other'
This commit is contained in:
parent
fbc7ea6a88
commit
d739c1d6c2
2 changed files with 11 additions and 6 deletions
14
example.tsv
14
example.tsv
|
@ -10,12 +10,14 @@ No. TOKEN NE-TAG NE-EMB
|
||||||
5 Januar O O
|
5 Januar O O
|
||||||
6 . O O
|
6 . O O
|
||||||
|
|
||||||
1 Berliner B-ORG O
|
1 Berlin B-LOC O
|
||||||
2 Tageblatt I-ORG O
|
2 , O O
|
||||||
3 . O O
|
3 Berliner B-ORG O
|
||||||
4 Nr O O
|
4 Tageblatt I-ORG O
|
||||||
5 . O O
|
5 . O O
|
||||||
6 1 O O
|
6 Nr O O
|
||||||
|
7 . O O
|
||||||
|
8 1 O O
|
||||||
|
|
||||||
1 Seite O O
|
1 Seite O O
|
||||||
2 3 O O
|
2 3 O O
|
||||||
|
@ -61,7 +63,7 @@ No. TOKEN NE-TAG NE-EMB
|
||||||
1 Es O O
|
1 Es O O
|
||||||
2 scheint O O
|
2 scheint O O
|
||||||
3 dem O O
|
3 dem O O
|
||||||
4 Kammerpräsidenten O O
|
4 Kammerpräsidenten B-OTH O
|
||||||
5 plötzlich O O
|
5 plötzlich O O
|
||||||
6 ein O O
|
6 ein O O
|
||||||
7 Argwohn O O
|
7 Argwohn O O
|
||||||
|
|
|
|
@ -14,6 +14,7 @@
|
||||||
.ner_per{background-color:skyblue}
|
.ner_per{background-color:skyblue}
|
||||||
.ner_loc{background-color:goldenrod}
|
.ner_loc{background-color:goldenrod}
|
||||||
.ner_org{background-color:plum}
|
.ner_org{background-color:plum}
|
||||||
|
.ner_oth{background-color:lightgreen}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -60,6 +61,8 @@
|
||||||
$("#table tr:contains('I-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');
|
||||||
$("#table tr:contains('I-ORG')").addClass('ner_org');
|
$("#table tr:contains('I-ORG')").addClass('ner_org');
|
||||||
|
$("#table tr:contains('B-OTH')").addClass('ner_oth');
|
||||||
|
$("#table tr:contains('I-OTH')").addClass('ner_oth');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue