All Projects → doccano → Doccano

doccano / Doccano

Licence: mit
Open source annotation tool for machine learning practitioners.

Programming Languages

python
139335 projects - #7 most used programming language
Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Doccano

Label Studio
Label Studio is a multi-type data labeling and annotation tool with standardized output format
Stars: ✭ 7,264 (+29.71%)
Mutual labels:  dataset, datasets, annotation-tool, text-annotation, data-labeling
auto-labeling-pipeline
doccano auto labeling pipeline helps doccano to annotate a document automatically.
Stars: ✭ 29 (-99.48%)
Mutual labels:  annotation-tool, text-annotation, data-labeling
Chakin
Simple downloader for pre-trained word vectors
Stars: ✭ 323 (-94.23%)
Mutual labels:  datasets, natural-language-processing
Vue Notion
A fast Vue renderer for Notion pages
Stars: ✭ 343 (-93.87%)
Mutual labels:  nuxt, nuxtjs
Style Resources Module
Nobody likes extra @import statements!
Stars: ✭ 485 (-91.34%)
Mutual labels:  nuxt, nuxtjs
Blog Front
blog-front @nuxt
Stars: ✭ 305 (-94.55%)
Mutual labels:  nuxt, nuxtjs
Nuxt Material Admin
Vue-CLI Boilerplate based on Nuxt and vue-material-admin template.
Stars: ✭ 310 (-94.46%)
Mutual labels:  nuxt, nuxtjs
Awesome Nuxt
A curated list of awesome things related to Nuxt.js
Stars: ✭ 4,285 (-23.48%)
Mutual labels:  nuxt, nuxtjs
Nuxt7
📱 Full Featured iOS & Android PWA Apps with Nuxt.js and Framework7
Stars: ✭ 282 (-94.96%)
Mutual labels:  nuxt, nuxtjs
Vercel Builder
Vercel Builder for Nuxt.js
Stars: ✭ 437 (-92.2%)
Mutual labels:  nuxt, nuxtjs
Vue Gallery
📷 Responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers.
Stars: ✭ 405 (-92.77%)
Mutual labels:  nuxt, nuxtjs
Nuxt Firebase Sns Example
Nuxt v2 & Firebase(Hosting / Functions SSR / Firestore), Google Auth SNS Example.
Stars: ✭ 485 (-91.34%)
Mutual labels:  nuxt, nuxtjs
Graphcms Examples
Example projects to help you get started with GraphCMS
Stars: ✭ 295 (-94.73%)
Mutual labels:  nuxt, nuxtjs
Text2sql Data
A collection of datasets that pair questions with SQL queries.
Stars: ✭ 287 (-94.87%)
Mutual labels:  dataset, natural-language-processing
Awesome Segmentation Saliency Dataset
A collection of some datasets for segmentation / saliency detection. Welcome to PR...😄
Stars: ✭ 315 (-94.37%)
Mutual labels:  dataset, datasets
Oie Resources
A curated list of Open Information Extraction (OIE) resources: papers, code, data, etc.
Stars: ✭ 283 (-94.95%)
Mutual labels:  dataset, natural-language-processing
Nuxt Purgecss
Drop superfluous CSS! A neat PurgeCSS wrapper for Nuxt.js
Stars: ✭ 356 (-93.64%)
Mutual labels:  nuxt, nuxtjs
Composition Api
Composition API hooks for Nuxt.
Stars: ✭ 441 (-92.12%)
Mutual labels:  nuxt, nuxtjs
Nuxt Ssr Firebase
Nuxt.js Universal App with SSR via Firebase Functions and Firebase Hosting
Stars: ✭ 273 (-95.12%)
Mutual labels:  nuxt, nuxtjs
Meglass
An eyeglass face dataset collected and cleaned for face recognition evaluation, CCBR 2018.
Stars: ✭ 281 (-94.98%)
Mutual labels:  dataset, datasets

doccano

Codacy Badge doccano CI

doccano is an open source text annotation tool for humans. It provides annotation features for text classification, sequence labeling and sequence to sequence tasks. So, you can create labeled data for sentiment analysis, named entity recognition, text summarization and so on. Just create a project, upload data and start annotating. You can build a dataset in hours.

Demo

You can try the annotation demo.

Demo image

Features

  • Collaborative annotation
  • Multi-language support
  • Mobile support
  • Emoji 😄 support
  • Dark theme
  • RESTful API

Usage

Three options to run doccano:

  • pip(experimental)
  • Docker
  • Docker Compose
    • production
    • development

For docker and docker compose, you need to install the following dependencies:

pip installation

To install doccano, simply run:

pip install doccano

After installation, run the following commands:

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

In another terminal, run the following command:

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

Go to http://127.0.0.1:8000/.

By default, sqlite3 is used for the default database. If you want to use PostgreSQL, install the additional dependency:

pip install 'doccano[postgresql]'

Create an .env file with variables in the following format, each on a new line:

POSTGRES_USER=doccano
POSTGRES_PASSWORD=doccano
POSTGRES_DB=doccano

Then, pass it to docker run with the --env-file flag:

docker run --rm -d \
    -p 5432:5432 \
    -v postgres-data:/var/lib/postgresql/data \
    --env-file .env \
    postgres:13.3-alpine

And set DATABASE_URL environment variable:

# Please replace each variable.
DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB}?sslmode=disable

Now run the command as before:

doccano init
doccano createuser --username admin --password pass
doccano webserver --port 8000

# In another terminal.
# Don't forget to set DATABASE_URL
doccano task

Docker

As a one-time setup, create a Docker container as follows:

docker pull doccano/doccano
docker container create --name doccano \
  -e "ADMIN_USERNAME=admin" \
  -e "[email protected]" \
  -e "ADMIN_PASSWORD=password" \
  -p 8000:8000 doccano/doccano

Next, start doccano by running the container:

docker container start doccano

To stop the container, run docker container stop doccano -t 5. All data created in the container will persist across restarts.

Go to http://127.0.0.1:8000/.

Docker Compose

You need to clone the repository:

git clone https://github.com/doccano/doccano.git
cd doccano

Note for Windows developers: Be sure to configure git to correctly handle line endings or you may encounter status code 127 errors while running the services in future steps. Running with the git config options below will ensure your git directory correctly handles line endings.

git clone https://github.com/doccano/doccano.git --config core.autocrlf=input

Then, create an .env file with variables in the following format(see ./config/.env.example):

# platform settings
ADMIN_USERNAME=admin
ADMIN_PASSWORD=password
[email protected]

# rabbit mq settings
RABBITMQ_DEFAULT_USER=doccano
RABBITMQ_DEFAULT_PASS=doccano

# database settings
POSTGRES_USER=doccano
POSTGRES_PASSWORD=doccano
POSTGRES_DB=doccano

Production

After running the following command, access http://0.0.0.0/.

docker-compose -f docker-compose.prod.yml --env-file ./config/.env.example up

Development

After running the following command, access http://127.0.0.1:3000/. If you want to use the admin site, please access http://127.0.0.1:8000/admin/.

docker-compose -f docker-compose.dev.yml --env-file ./config/.env.example up

You can run the the test codes for the backend with the following command:

docker exec doccano_backend_1 python backend/manage.py test api

One-click Deployment

Service Button
AWS1 AWS CloudFormation Launch Stack SVG Button
Heroku Deploy

FAQ

See the documentation for details.

Contribution

As with any software, doccano is under continuous development. If you have requests for features, please file an issue describing your request. Also, if you want to see work towards a specific feature, feel free to contribute by working towards it. The standard procedure is to fork the repository, add a feature, fix a bug, then file a pull request that your changes are to be merged into the main repository and included in the next release.

Here are some tips might be helpful. How to Contribute to Doccano Project

Citation

@misc{doccano,
  title={{doccano}: Text Annotation Tool for Human},
  url={https://github.com/doccano/doccano},
  note={Software available from https://github.com/doccano/doccano},
  author={
    Hiroki Nakayama and
    Takahiro Kubo and
    Junya Kamura and
    Yasufumi Taniguchi and
    Xu Liang},
  year={2018},
}

Contact

For help and feedback, please feel free to contact the author.

Footnotes

  1. (1) EC2 KeyPair cannot be created automatically, so make sure you have an existing EC2 KeyPair in one region. Or create one yourself. (2) If you want to access doccano via HTTPS in AWS, here is an instruction.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].