CoolFace
Datasetpublic

doshimit3015/text-anonymization-benchmark

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… See the full description on the dataset page: https://huggingface.co/datasets/doshimit3015/text-anonymization-benchmark.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
0likes10downloads
Dataset Card

Dataset Card for the Text Anonymization Benchmark (TAB)

Dataset Description

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 nameDescription
entity_mentionsa list of entity mention objects with annotations (see table below)
dataset_typewhich data split the court case belongs to (train /dev / test)
doc_idthe ID of the court case (e.g. “001-61807”)
annotator_idthe ID of the annotator
metaan object with metadata for each case (year, countries and legal articles involved etc.)
quality_checkedwhether the document was revised by another annotator
taskthe target of the anonymisation task (i.g. who to anonymise)
textthe text of the court case used during the annotation

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

Variable nameDescription
entity_typethe semantic category of the entity (e.g. PERSON)
entitymentionidID of the entity mention
start_offsetstart character offset of the annotated span
end_offsetend character offset of the annotated span
span_textthe text of the annotated span
edit_typetype of annotator action for the mention (check / insert / correct)
identifier_typethe need for masking, masked if 'DIRECT' or 'QUASI', 'NO_MASK' otherwise
entity_idID of the entity the entity mention is related to in meaning
confidential_statuscategory 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.