Dataset Viewer
Auto-converted to Parquet Duplicate
quality_checked
sequencelengths
0
1
text
stringlengths
1.12k
29.7k
task
stringlengths
70
100
meta
dict
doc_id
stringlengths
9
10
dataset_type
stringclasses
1 value
annotator_id
stringclasses
11 values
entity_mentions
listlengths
19
507
[]
PROCEDURE The case originated in an application (no. 36244/06) against the Kingdom of Denmark lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by a Danish national, Mr Henrik Hasslund (“the applicant”), on 31 August 2006. The appli...
Task: Annotate the document to anonymise the following person: Henrik Hasslund
{ "applicant": "Henrik Hasslund", "articles": [ 91, 34, 54, 34, 93 ], "countries": "DNK", "legal_branch": "CHAMBER", "year": 2008 }
001-90194
train
annotator1
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 62, "entity_id": "001-90194_a1_e1", "entity_mention_id": "001-90194_a1_em1", "entity_type": "CODE", "identifier_type": "DIRECT", "related_mentions": null, "span_text": "36244/06", "start_offset":...
[]
PROCEDURE The case originated in an application (no. 36244/06) against the Kingdom of Denmark lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by a Danish national, Mr Henrik Hasslund (“the applicant”), on 31 August 2006. The appli...
Task: Annotate the document to anonymise the following person: Henrik Hasslund
{ "applicant": "Henrik Hasslund", "articles": [ 91, 34, 54, 34, 93 ], "countries": "DNK", "legal_branch": "CHAMBER", "year": 2008 }
001-90194
train
annotator2
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 62, "entity_id": "001-90194_a2_e1", "entity_mention_id": "001-90194_a2_em1", "entity_type": "CODE", "identifier_type": "QUASI", "related_mentions": null, "span_text": "36244/06", "start_offset": ...
[]
PROCEDURE The case originated in an application (no. 36244/06) against the Kingdom of Denmark lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by a Danish national, Mr Henrik Hasslund (“the applicant”), on 31 August 2006. The appli...
Task: Annotate the document to anonymise the following person: Henrik Hasslund
{ "applicant": "Henrik Hasslund", "articles": [ 91, 34, 54, 34, 93 ], "countries": "DNK", "legal_branch": "CHAMBER", "year": 2008 }
001-90194
train
annotator8
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 62, "entity_id": "001-90194_a8_e1", "entity_mention_id": "001-90194_a8_em1", "entity_type": "CODE", "identifier_type": "DIRECT", "related_mentions": null, "span_text": "36244/06", "start_offset":...
[]
PROCEDURE The case originated in an application (no. 36244/06) against the Kingdom of Denmark lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by a Danish national, Mr Henrik Hasslund (“the applicant”), on 31 August 2006. The appli...
Task: Annotate the document to anonymise the following person: Henrik Hasslund
{ "applicant": "Henrik Hasslund", "articles": [ 91, 34, 54, 34, 93 ], "countries": "DNK", "legal_branch": "CHAMBER", "year": 2008 }
001-90194
train
annotator11
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 62, "entity_id": "001-90194_a11_e1", "entity_mention_id": "001-90194_a11_em1", "entity_type": "CODE", "identifier_type": "DIRECT", "related_mentions": null, "span_text": "36244/06", "start_offset...
[]
PROCEDURE The case originated in an application (no. 29366/03) against the Republic of Poland lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by Mr D. Stępniak on 25 July 2003. The Polish Government (“the Government”) were represe...
Task: Annotate the document to anonymise the following person: D. Stępniak
{ "applicant": "D. Stępniak", "articles": [ 91, 34, 56, 34, 93 ], "countries": "POL", "legal_branch": "CHAMBER", "year": 2008 }
001-84741
train
annotator1
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 62, "entity_id": "001-84741_a1_e1", "entity_mention_id": "001-84741_a1_em1", "entity_type": "CODE", "identifier_type": "DIRECT", "related_mentions": null, "span_text": "29366/03", "start_offset":...
[]
PROCEDURE The case originated in an application (no. 5138/04) against the Republic of Turkey lodged with the Court under Article 34 of the Convention for the Protection of Human Rights and Fundamental Freedoms (“the Convention”) by a Turkish national, Mr Nusret Amutgan (“the applicant”), on 29 December 2003. The appl...
Task: Annotate the document to anonymise the following person: Nusret Amutgan
{ "applicant": "Nusret Amutgan", "articles": [ 91, 34, 54, 34, 93 ], "countries": "TUR", "legal_branch": "CHAMBER", "year": 2009 }
001-91042
train
annotator1
[ { "confidential_status": "NOT_CONFIDENTIAL", "edit_type": "check", "end_offset": 61, "entity_id": "001-91042_a1_e1", "entity_mention_id": "001-91042_a1_em1", "entity_type": "CODE", "identifier_type": "DIRECT", "related_mentions": null, "span_text": "5138/04", "start_offset": ...
[]
"PROCEDURE\n\nThe case originated in two applications (nos. 42596/98 and 42603/98) against the Repub(...TRUNCATED)
Task: Annotate the document to anonymise the following person: Mustafa Sarı
{"applicant":"Mustafa Sarı","articles":[91,34,50,57,34,44,32,34,56,34,44,32,34,53,34,44,32,34,52,49(...TRUNCATED)
001-73062
train
annotator1
[{"confidential_status":"NOT_CONFIDENTIAL","edit_type":"check","end_offset":65,"entity_id":"001-7306(...TRUNCATED)
[]
"PROCEDURE\n\nThe case originated in an application (no. 29869/13) against the Republic of Poland lo(...TRUNCATED)
Task: Annotate the document to anonymise the following person: Dariusz Karwowski
{"applicant":"Dariusz Karwowski","articles":[91,34,51,34,93],"countries":"POL","legal_branch":"CHAMB(...TRUNCATED)
001-162024
train
annotator1
[{"confidential_status":"NOT_CONFIDENTIAL","edit_type":"check","end_offset":62,"entity_id":"001-1620(...TRUNCATED)
[]
"PROCEDURE\n\nThe case originated in an application (no. 29869/13) against the Republic of Poland lo(...TRUNCATED)
Task: Annotate the document to anonymise the following person: Dariusz Karwowski
{"applicant":"Dariusz Karwowski","articles":[91,34,51,34,93],"countries":"POL","legal_branch":"CHAMB(...TRUNCATED)
001-162024
train
annotator4
[{"confidential_status":"NOT_CONFIDENTIAL","edit_type":"check","end_offset":62,"entity_id":"001-1620(...TRUNCATED)
[]
"PROCEDURE\n\nThe case originated in an application (no. 45718/99) against the Republic of Turkey lo(...TRUNCATED)
Task: Annotate the document to anonymise the following person: İlhan Karakurt
{"applicant":"İlhan Karakurt","articles":[91,34,54,34,44,32,34,51,53,34,44,32,34,50,57,34,44,32,34,(...TRUNCATED)
001-70168
train
annotator1
[{"confidential_status":"NOT_CONFIDENTIAL","edit_type":"check","end_offset":62,"entity_id":"001-7016(...TRUNCATED)
End of preview. Expand in Data Studio

Dataset Card for the Text Anonymization Benchmark (TAB)

Dataset Summary

This repository contains the v1.0 release of the Text Anonymization Benchmark, a corpus for text anonymization. The corpus comprises 1,268 English-language court cases from the European Court for Human Rights (ECHR). The documents were manually annotated with information about personal identifiers (including their semantic category and need for masking), confidential attributes and co-reference relations. Some documents were annotated by multiple annotators.

Data format

The data is distributed in a standoff JSON format consisting of a list of document object with the following information:

Variable name Description
entity_mentions a list of entity mention objects with annotations (see table below)
dataset_type which data split the court case belongs to (train /dev / test)
doc_id the ID of the court case (e.g. “001-61807”)
annotator_id the ID of the annotator
meta an object with metadata for each case (year, countries and legal articles involved etc.)
quality_checked whether the document was revised by another annotator
task the target of the anonymisation task (i.g. who to anonymise)
text the text of the court case used during the annotation

Each entity mention object under 'entity_mentions' has the following attributes:

Variable name Description
entity_type the semantic category of the entity (e.g. PERSON)
entity_mention_id ID of the entity mention
start_offset start character offset of the annotated span
end_offset end character offset of the annotated span
span_text the text of the annotated span
edit_type type of annotator action for the mention (check / insert / correct)
identifier_type the need for masking, masked if 'DIRECT' or 'QUASI', 'NO_MASK' otherwise
entity_id ID of the entity the entity mention is related to in meaning
confidential_status category of a potential source of discrimination (e.g. beliefs, sexual orientation etc.)

Note. The structure of this version of TAB is somewhat flatter than the one distributed on the GitHub TAB repository.

License

TAB is released under an MIT License.

The MIT License is a short and simple permissive license allowing both commercial and non-commercial use of the software. The only requirement is to preserve the copyright and license notices (see file License). Licensed works, modifications, and larger works may be distributed under different terms and without source code.

Downloads last month
131