Browse Source

Change directory structure

pull/10/head
Hironsan 6 years ago
parent
commit
7737ab2053
39 changed files with 4 additions and 4 deletions
  1. 0
      app/app/__init__.py
  2. 0
      app/app/settings.py
  3. 0
      app/app/urls.py
  4. 0
      app/app/wsgi.py
  5. 0
      app/classifier/__init__.py
  6. 0
      app/classifier/model.py
  7. 0
      app/classifier/preprocess.py
  8. 6
      app/classifier/task.py
  9. 0
      app/classifier/utils.py
  10. 0
      app/db.sqlite3
  11. 0
      app/manage.py
  12. 0
      app/server/__init__.py
  13. 0
      app/server/admin.py
  14. 0
      app/server/apps.py
  15. 0
      app/server/data/test.jsonl
  16. 0
      app/server/migrations/__init__.py
  17. 0
      app/server/models.py
  18. 0
      app/server/package-lock.json
  19. 0
      app/server/package.json
  20. 0
      app/server/serializers.py
  21. 0
      app/server/static/annotation.js
  22. 0
      app/server/static/forum.css
  23. 0
      app/server/static/images/cat.png
  24. 0
      app/server/static/images/logo.png
  25. 0
      app/server/static/inbox.css
  26. 0
      app/server/static/main.js
  27. 0
      app/server/static/project_admin.js
  28. 0
      app/server/templates/annotation.html
  29. 0
      app/server/templates/base.html
  30. 0
      app/server/templates/index.html
  31. 0
      app/server/templates/login.html
  32. 0
      app/server/templates/project_admin.html
  33. 0
      app/server/templates/projects.html
  34. 0
      app/server/tests.py
  35. 0
      app/server/urls.py
  36. 0
      app/server/views.py
  37. 0
      app/server/webpack.config.js
  38. 0
      doccano/classifier/__init__.py
  39. 2
      tests/test_classifier.py

doccano/__init__.py → app/app/__init__.py

doccano/app/app/settings.py → app/app/settings.py

doccano/app/app/urls.py → app/app/urls.py

doccano/app/app/wsgi.py → app/app/wsgi.py

doccano/app/app/__init__.py → app/classifier/__init__.py

doccano/classifier/model.py → app/classifier/model.py

doccano/classifier/preprocess.py → app/classifier/preprocess.py

doccano/classifier/task.py → app/classifier/task.py

@ -3,9 +3,9 @@ Task runner.
"""
import numpy as np
from doccano.classifier.model import build_model
from doccano.classifier.preprocess import build_vectorizer
from doccano.classifier.utils import load_dataset, save_dataset, make_output, train_test_split
from doccano.app.classifier.model import build_model
from doccano.app.classifier import build_vectorizer
from doccano.app.classifier import load_dataset, save_dataset, make_output, train_test_split
def run(filename):

doccano/classifier/utils.py → app/classifier/utils.py

doccano/app/db.sqlite3 → app/db.sqlite3

doccano/app/manage.py → app/manage.py

doccano/app/server/__init__.py → app/server/__init__.py

doccano/app/server/admin.py → app/server/admin.py

doccano/app/server/apps.py → app/server/apps.py

doccano/app/server/data/test.jsonl → app/server/data/test.jsonl

doccano/app/server/migrations/__init__.py → app/server/migrations/__init__.py

doccano/app/server/models.py → app/server/models.py

doccano/app/server/package-lock.json → app/server/package-lock.json

doccano/app/server/package.json → app/server/package.json

doccano/app/server/serializers.py → app/server/serializers.py

doccano/app/server/static/annotation.js → app/server/static/annotation.js

doccano/app/server/static/forum.css → app/server/static/forum.css

doccano/app/server/static/images/cat.png → app/server/static/images/cat.png

doccano/app/server/static/images/logo.png → app/server/static/images/logo.png

doccano/app/server/static/inbox.css → app/server/static/inbox.css

doccano/app/server/static/main.js → app/server/static/main.js

doccano/app/server/static/project_admin.js → app/server/static/project_admin.js

doccano/app/server/templates/annotation.html → app/server/templates/annotation.html

doccano/app/server/templates/base.html → app/server/templates/base.html

doccano/app/server/templates/index.html → app/server/templates/index.html

doccano/app/server/templates/login.html → app/server/templates/login.html

doccano/app/server/templates/project_admin.html → app/server/templates/project_admin.html

doccano/app/server/templates/projects.html → app/server/templates/projects.html

doccano/app/server/tests.py → app/server/tests.py

doccano/app/server/urls.py → app/server/urls.py

doccano/app/server/views.py → app/server/views.py

doccano/app/server/webpack.config.js → app/server/webpack.config.js

0
doccano/classifier/__init__.py

2
tests/test_classifier.py

@ -1,7 +1,7 @@
import os
import unittest
from doccano.classifier.task import run
from doccano.app.classifier import run
class TestClassifier(unittest.TestCase):

Loading…
Cancel
Save