mirror of https://github.com/doccano/doccano.git
7 changed files with 96 additions and 18 deletions
Split View
Diff Options
-
2doccano/app/app/urls.py
-
BINdoccano/app/db.sqlite3
-
3doccano/app/server/static/forum.css
-
17doccano/app/server/templates/base.html
-
65doccano/app/server/templates/index.html
-
20doccano/app/server/urls.py
-
7doccano/app/server/views.py
@ -0,0 +1,65 @@ |
|||
{% extends "base.html" %} {% block content %} |
|||
<div class="hero-body"> |
|||
<div class="container"> |
|||
<div class="columns"> |
|||
<div class="column is-12"> |
|||
<h1 class="title is-1">Doccano</h1> |
|||
<h2 class="subtitle is-4"> |
|||
A document annotation tool by active learning. |
|||
</h2> |
|||
<p> |
|||
<a class="button is-medium is-info is-outlined"> |
|||
Try Demo |
|||
</a> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="columns is-vcentered"> |
|||
<div class="column is-5"> |
|||
<figure class="image is-4by3"> |
|||
<img src="https://picsum.photos/800/600/?random" alt="Description"> |
|||
</figure> |
|||
</div> |
|||
<div class="column is-6 is-offset-1"> |
|||
<h1 class="title is-2"> |
|||
Document Annotation |
|||
</h1> |
|||
<h2 class="subtitle is-4"> |
|||
Label document for any document classification tasks. |
|||
</h2> |
|||
<br> |
|||
<p> |
|||
<a class="button is-medium is-info is-outlined"> |
|||
Try Demo |
|||
</a> |
|||
</p> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="columns is-vcentered"> |
|||
|
|||
<div class="column is-6"> |
|||
<h1 class="title is-2"> |
|||
Sequence Labeling |
|||
</h1> |
|||
<h2 class="subtitle is-4"> |
|||
A super easy interface to tag for named entity recognition, part-of-speech tagging, semantic role labeling. |
|||
</h2> |
|||
<br> |
|||
<p> |
|||
<a class="button is-medium is-info is-outlined"> |
|||
Try Demo |
|||
</a> |
|||
</p> |
|||
</div> |
|||
|
|||
<div class="column is-5 is-offset-1"> |
|||
<figure class="image is-4by3"> |
|||
<img src="https://picsum.photos/800/600/?random" alt="Description"> |
|||
</figure> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
{% endblock %} |
@ -1,16 +1,18 @@ |
|||
from django.urls import path |
|||
|
|||
from .views import IndexView |
|||
from .views import AnnotationAPIView, ProgressAPI, SearchAPI, InboxView |
|||
from .views import ProjectListView, ProjectAdminView, RawDataAPI, LabelAPI, DataDownloadAPI |
|||
|
|||
urlpatterns = [ |
|||
path('', ProjectListView.as_view(), name='project-list'), |
|||
path('<int:pk>/admin', ProjectAdminView.as_view(), name='project-admin'), |
|||
path('<int:project_id>/download', DataDownloadAPI.as_view(), name='download'), |
|||
path('<int:project_id>/', InboxView.as_view(), name='annotation'), |
|||
path('<int:project_id>/apis/data', AnnotationAPIView.as_view()), |
|||
path('<int:pk>/apis/raw_data', RawDataAPI.as_view(), name='data_api'), |
|||
path('<int:pk>/apis/labels', LabelAPI.as_view(), name='label_api'), |
|||
path('<int:project_id>/apis/progress', ProgressAPI.as_view()), |
|||
path('<int:project_id>/apis/search', SearchAPI.as_view()), |
|||
path('', IndexView.as_view(), name='index'), |
|||
path('projects/', ProjectListView.as_view(), name='project-list'), |
|||
path('projects/<int:pk>/admin', ProjectAdminView.as_view(), name='project-admin'), |
|||
path('projects/<int:project_id>/download', DataDownloadAPI.as_view(), name='download'), |
|||
path('projects/<int:project_id>/', InboxView.as_view(), name='annotation'), |
|||
path('projects/<int:project_id>/apis/data', AnnotationAPIView.as_view()), |
|||
path('projects/<int:pk>/apis/raw_data', RawDataAPI.as_view(), name='data_api'), |
|||
path('projects/<int:pk>/apis/labels', LabelAPI.as_view(), name='label_api'), |
|||
path('projects/<int:project_id>/apis/progress', ProgressAPI.as_view()), |
|||
path('projects/<int:project_id>/apis/search', SearchAPI.as_view()), |
|||
] |
Write
Preview
Loading…
Cancel
Save