﻿# doccano imports: choose the annotation task before mapping text and labels

Prepare doccano imports around the project task, supported upload formats and explicit text-label mappings rather than assuming every JSONL annotation fits.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-doccano-project-task-import-contract/
Language: en

## Determine what a label represents

An emotion classifier assigns a category to a complete message, while a named-entity project marks positions inside that message. Both can arrive in JSONL, but their labels mean different things. The [doccano workflow](https://doccano.github.io/doccano/) places project-type selection before importing data. Choose the supervised task from the intended model output, then verify that the source annotations express that task instead of choosing a project merely because it accepts a convenient file extension.

## Query formats for the actual project

The [official client reference](https://doccano.github.io/doccano-client/usage/) exposes `list_upload_options` for a project and an upload operation with task, format and column mappings. Inspect options returned by the installed deployment rather than transferring a format name from another team's screenshot. Record the project identity with the importer configuration. A compatible parser still needs to know whether a label denotes a document category, a text span or another supported annotation structure.

## Map fields deliberately across examples

The [sequence-labeling tutorial](https://doccano.github.io/doccano/tutorial/) illustrates a particular project and import-export workflow. Treat its example fields as a documented example, not a universal promise that every source uses the same key names. Map the text column and annotation column explicitly where the importer supports that choice. A field called labels in an old export and a label parameter in a client interface are not interchangeable without checking the deployment's accepted format.

## Test meaning after successful parsing

Import a small selection with ordinary text, punctuation, non-Latin characters and an example with no target entities. Open each example and compare the displayed content with the original source. For span tasks, inspect the highlighted substring, not only the numeric boundaries. A parser can accept a record while a prior text cleanup has moved its offsets. Classification labels should likewise be checked against the intended category definitions, including legitimate negative or empty cases.

## Verify the training-facing export

Export the pilot and parse it with the loader intended for training. Keep the import configuration, deployment version and field mapping alongside that check. The guides to [CoNLL source representation](/journal/data-guide-conll2003-original-data-format/) and [Unicode span integrity](/journal/data-guide-unicode-normalization-span-integrity/) explain why a successful platform import is only part of a reliable conversion. The useful result is preserved annotation meaning across the complete route, not merely a file accepted without an error message.
