0

I use Doccano to do some text annotation. I want to define new relation types in Doccano.

When I click on "Relation" in the left menu:

enter image description here

I get a 404 error:

enter image description here

How can I define new relation types in Doccano?


My environment:

  • doccano==1.8.4
  • Operating System: Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-1039-aws x86_64)
  • Python Version Used: Python 3.10.9 (main, Mar 1 2023, 18:23:06) [GCC 11.2.0] on linux

To install Doccano, I used:

# create conda env and install doccano
conda create -n doccanopy310 python=3.10 anaconda
conda activate doccanopy310
pip install doccano

To launch Doccano, I followed the official documentation. I ran:

# Initialize database. First time only.
doccano init
# Create a super user. First time only.
doccano createuser --username admin --password pass
# Start a web server.
doccano webserver --port 8000

And from ran another terminal:

# Start the task queue to handle file upload/download.
doccano task
0

1 Answer 1

0

Click on "Labels" in the left menu, then "Relation":

enter image description here

It is working there.

(Thanks Mengjiao Zhang for showing me that solution)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .