---
title: Coreference Resolution and Entity Linking
type: templates
category: Conversational AI
cat: conversational-ai
order: 810
meta_title: Coreference Entity Resolution and Linking Data Labeling Template

If you want to train a machine learning model to be capable of natural language understanding in the context of conversational AI, you will want to perform coreference resolution on a dataset.
Use this template to assign coreferences using relations to specific entities identified in a passage of text. You can add relations to any identified region spans in Label Studio.
<View>
<Labels name="label" toName="text">
<Label value="Noun" background="red"/>
<Label value="Pronoun" background="darkorange"/>
</Labels>
<Text name="text" value="$text"/>
</View>
All labeling configurations must be wrapped in View tags.
Use the Labels control tag to specify the labels that you want to apply to text spans:xml <Labels name="label" toName="text"> <Label value="Noun" background="red"/> <Label value="Pronoun" background="darkorange"/> </Labels>
The Text object tag specifies the value of the text data:xml <Text name="text" value="$text"/>
To apply relations to the labeled text spans, use the labeling interface. See Add relations between annotations. If you want to add labels to the relations themselves, use the Relations tag. See the Relation Extraction Template for more.