coreference / config.yaml
davidjurgens's picture
Deploy Potato demo: Potato — Coreference
80f50ca verified
Raw
History Blame Contribute Delete
973 Bytes
annotation_task_name: Coreference Annotation Demo
task_dir: .
data_files:
- data/coreference-example.json
item_properties:
id_key: id
text_key: text
user_config:
allow_all_users: true
instance_display:
fields:
- key: text
type: text
label: Text
annotation_schemes:
- annotation_type: span
name: mentions
description: Highlight entity mentions in the text
labels:
- name: PERSON
tooltip: Person names and pronouns
- name: ORG
tooltip: Organization names
- name: LOC
tooltip: Location names
- name: OTHER
tooltip: Other referring expressions
- annotation_type: coreference
name: coref_chains
description: Group mentions that refer to the same entity into coreference chains
span_schema: mentions
entity_types:
- PERSON
- ORG
- LOC
- OTHER
allow_singletons: true
visual_display:
highlight_mode: background
output_annotation_dir: annotation_output
output_annotation_format: json
require_no_password: true