Coreference Resolution
coref · Built-in task recipeAnnotate coreference, i.e. links of ambiguous mentions like "her" or "the woman" back to an antecedent providing more context about the entity in question.
If you've connected Ellf to your coding assistant, it can set up the task for you: it knows the recipe's settings, can create the datasets and assets it needs and will ask you about anything it can't work out itself.
✳︎Claude Code: Setting up a task
› Set up an Ellf task using the Coreference Resolution recipe (coref) and help me choose the right settings for my data.- In the app, go to TasksNew task.
- Select the Coreference Resolution recipe under Text.
- Fill in the form – you'll need to provide Dataset, Input data asset and Model. Everything else has sensible defaults.
- Create the task. It starts on your cluster straight away.
Create the task with ellf tasks create and the recipe name. All settings from the form are available as arguments. To view all recipe arguments, run ellf tasks create coref --help.
| Argument | Type | Description | Default |
|---|---|---|---|
--name | str | Name of the task | None |
--dataset | str | Dataset: Select an existing dataset or create a new one. | |
--input | str | Input data asset: Upload data to your cluster and it will be available here. | |
--label | List[str] | Labels: Comma-separated list of labels to annotate. | ["COREF"] |
--model.name | str | Trained spaCy model: If you have custom pipelines, you can add them to your cluster. | |
--model.add-ents | bool | Add named entities predicted by the model | False |
--model.add-nps | bool | Add noun phrases predicted by the model | False |
--pos-tags | List[str] | Part-of-speech tags: List of coarse-grained POS tags to enable for annotation. | ["NOUN", "PROPN", "PRON", "DET"] |
--poss-pron-tags | List[str] | Possessive pronoun tags: List of fine-grained tag values for possessive pronoun to use in patterns. | ["PRP$"] |
--ner-labels | List[str] | Named entity labels: List of NER labels to use if model has entity recognizer. | ["PERSON", "ORG"] |
--show-arrow-heads | bool | Show arrow heads: If disabled, relations will be shown as lines instead of directional arrows. | False |
--settings.instructions | str | Instructions: Markdown document with annotation guidelines, shown to annotators and agents. | None |
--settings.goal | str | Data collection goalAvailable: nooverlap, overlap | "nooverlap" |
--settings.config | str | Prodigy config: JSON object of Prodigy config to override, e.g. the theme, keyboard shortcuts or interface style. | "" |
--settings.exclude | List[str] | Exclude datasets: Datasets containing annotations to exclude. | None |
--project-id | str | Project ID to add task to. Defaults to your saved project. | None |
--worker-class | str | Worker class to launch the task on, as configured on your cluster | None |