<div align="center">
<img src="./docs/doccano.png">
</div>
# doccano
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/98a0992c0a254d0ba23fd75631fe2907)](https://app.codacy.com/app/Hironsan/doccano?utm_source=github.com&utm_medium=referral&utm_content=doccano/doccano&utm_campaign=Badge_Grade_Dashboard)
[![Build Status](https://travis-ci.com/doccano/doccano.svg?branch=master)](https://travis-ci.com/doccano/doccano)
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](http://doccano.herokuapp.com).
![Named Entity Recognition](./docs/demo.gif)
## Features
- Collaborative annotation
- Multi-language support
- Mobile support
- Emoji :smile: support
- Dark theme
- RESTful API
## Usage
Two options to run doccano:
- (Recommended) Docker Compose
- Docker
### Docker Compose
```bash
$ git clone https://github.com/doccano/doccano.git
$ cd doccano
$ docker-compose -f docker-compose.prod.yml up
```
Go to <http://0.0.0.0/>.
_Note the superuser account credentials located in the `docker-compose.prod.yml` file:_
```yml
ADMIN_USERNAME: "admin"
ADMIN_PASSWORD: "password"
```
> Note: If you want to add annotators, see [Frequently Asked Questions](https://github.com/doccano/doccano/wiki/Frequently-Asked-Questions#i-want-to-add-annotators)
_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._
```bash
git clone https://github.com/doccano/doccano.git --config core.autocrlf=input
```
### Docker
As a one-time setup, create a Docker container for Doccano:
```bash
docker pull doccano/doccano
docker container create --name doccano \
-e "ADMIN_USERNAME=admin" \
-e "ADMIN_EMAIL=admin@example.com" \
-e "ADMIN_PASSWORD=password" \
-p 8000:8000 doccano/doccano \
-v /data:/doccano
docker container create -v /data:/doccano --name doccano \
-e "ADMIN_USERNAME=admin" \
-e "ADMIN_EMAIL=admin@example.com" \
-e "ADMIN_PASSWORD=password" \
-p 8000:8000 doccano/doccano
docker container create --name doccano1 \
-e "ADMIN_USERNAME=admin" \
-e "ADMIN_EMAIL=admin@example.com" \
-e "ADMIN_PASSWORD=password" \
-p 8001:8000 doccano/doccano \
-v /data:/doccano
```
Next, start Doccano by running the container:
```bash
docker container start doccano
docker exec -it doccano /bin/bash
docker container start doccano1
docker exec -it doccano1 /bin/bash
```
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/>.
### For Developers
You can setup local development environment as follows:
```bash
$ git clone https://github.com/doccano/doccano.git
$ cd doccano
$ docker-compose -f docker-compose.dev.yml up
```
Go to <http://127.0.0.1:3000/>.
## One-click Deployment
| Service | Button |
|---------|---|
| AWS[^1] | [![AWS CloudFormation Launch Stack SVG Button](https://cdn.rawgit.com/buildkite/cloudformation-launch-stack-button-svg/master/launch-stack.svg)](https://console.aws.amazon.com/cloudformation/home?#/stacks/create/review?stackName=doccano&templateURL=https://s3-external-1.amazonaws.com/cf-templates-10vry9l3mp71r-us-east-1/2019290i9t-AppSGl1poo4j8qpq) |
| Azure | [![Deploy to Azure](https://azuredeploy.net/deploybutton.svg)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fdoccano%2Fdoccano%2Fmaster%2Fazuredeploy.json) |
| GCP[^2] | [![GCP Cloud Run PNG Button](https://storage.googleapis.com/gweb-cloudblog-publish/images/run_on_google_cloud.max-300x300.png)](https://console.cloud.google.com/cloudshell/editor?shellonly=true&cloudshell_image=gcr.io/cloudrun/doccano&cloudshell_git_repo=https://github.com/doccano/doccano.git) |
| Heroku | [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) |
> [^1]: (1) EC2 KeyPair cannot be created automatically, so make sure you have an existing EC2 KeyPair in one region. Or [create one yourself](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#having-ec2-create-your-key-pair). (2) If you want to access doccano via HTTPS in AWS, here is an [instruction](https://github.com/doccano/doccano/wiki/HTTPS-setting-for-doccano-in-AWS).
> [^2]: Although this is a very cheap option, it is only suitable for very small teams (up to 80 concurrent requests). Read more on [Cloud Run docs](https://cloud.google.com/run/docs/concepts).
## 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](https://github.com/doccano/doccano/wiki/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](https://github.com/Hironsan).
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
doccano.zip (454个子文件)
.babelrc 212B
nginx.conf 722B
labeling.invalid.conll 200B
labeling.conll 185B
upload_sequence_labeling.conll 110B
labeling.trailing.conll 92B
.coveragerc 361B
forum.css 9KB
annotation.css 4KB
admin.css 2KB
download_seq2seq.csv 142B
upload_seq2seq.csv 122B
upload_text_classification.csv 116B
download_text_classification.csv 109B
example.utf16.csv 106B
example_out_of_order_columns.csv 106B
example.invalid.2.csv 63B
example.csv 49B
example.invalid.1.csv 23B
example_one_column.csv 16B
Dockerfile 2KB
Dockerfile 463B
Dockerfile 186B
Dockerfile 98B
.dockerignore 261B
.dockerignore 126B
.dockerignore 72B
.eslintrc 427B
.flake8 48B
translation.gif 6.37MB
named_entity_annotation.gif 6.13MB
text_classification.gif 1.65MB
demo.gif 440KB
.gitignore 3KB
.gitignore 1KB
.gitkeep 0B
.gitkeep 0B
.gitkeep 0B
index.html 7KB
base.html 5KB
login.html 3KB
dataset.html 3KB
admin.html 2KB
azure_appinsights.html 1KB
signup.html 1KB
annotation.html 597B
password_reset_confirm.html 590B
password_reset_done.html 415B
password_reset_form.html 409B
google_analytics.html 378B
validate_mail_address_complete.html 375B
password_reset_email.html 374B
email_not_set.html 280B
projects.html 250B
base_auth.html 240B
acc_active_email.html 218B
password_reset_complete.html 217B
validate_mail_address_invalid.html 193B
favicon.ico 1KB
favicon.ico 1KB
doccano.iml 806B
hero.jpeg 650KB
vbanner.jpg 316KB
text_classification.jpg 104KB
seq2seq.jpg 68KB
sequence_labeling.jpg 65KB
demo_data.js 11KB
projects.js 8KB
annotationMixin.js 8KB
documents.js 6KB
docs.js 4KB
uploadMixin.js 4KB
demo_api.js 3KB
labels.js 3KB
nuxt.config.js 3KB
webpack.config.js 2KB
projects.js 2KB
members.js 2KB
members.js 2KB
ProjectList.spec.js 2KB
labels.js 2KB
ProjecCreationForm.spec.js 2KB
project.service.spec.js 2KB
document.service.js 1KB
api.service.spec.js 1KB
statistics.js 1KB
pagination.js 1KB
auth.js 1KB
index.js 1KB
api.service.js 924B
ProjectDeletionButton.spec.js 895B
ProjectCreationButton.spec.js 889B
ProjectList.spec.js 816B
filter.js 793B
annotation.service.js 765B
index.js 744B
member.service.js 697B
roles.js 676B
index.js 669B
users.js 628B
共 454 条
- 1
- 2
- 3
- 4
- 5
涂衮衮
- 粉丝: 3
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0