diff --git a/backend/aethel_db/views/status.py b/backend/aethel_db/views/status.py
index 13bd81b..3f06d43 100644
--- a/backend/aethel_db/views/status.py
+++ b/backend/aethel_db/views/status.py
@@ -1,5 +1,5 @@
from aethel_db.models import dataset
-def aethel_status():
+def aethel_status() -> bool:
return dataset is not None
diff --git a/backend/minimalist_parser/__init__.py b/backend/minimalist_parser/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/backend/minimalist_parser/admin.py b/backend/minimalist_parser/admin.py
new file mode 100644
index 0000000..8c38f3f
--- /dev/null
+++ b/backend/minimalist_parser/admin.py
@@ -0,0 +1,3 @@
+from django.contrib import admin
+
+# Register your models here.
diff --git a/backend/minimalist_parser/apps.py b/backend/minimalist_parser/apps.py
new file mode 100644
index 0000000..b3c3aeb
--- /dev/null
+++ b/backend/minimalist_parser/apps.py
@@ -0,0 +1,6 @@
+from django.apps import AppConfig
+
+
+class MinimalistParserConfig(AppConfig):
+ default_auto_field = 'django.db.models.BigAutoField'
+ name = 'minimalist_parser'
diff --git a/backend/minimalist_parser/migrations/__init__.py b/backend/minimalist_parser/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/backend/minimalist_parser/models.py b/backend/minimalist_parser/models.py
new file mode 100644
index 0000000..71a8362
--- /dev/null
+++ b/backend/minimalist_parser/models.py
@@ -0,0 +1,3 @@
+from django.db import models
+
+# Create your models here.
diff --git a/backend/minimalist_parser/tests.py b/backend/minimalist_parser/tests.py
new file mode 100644
index 0000000..7ce503c
--- /dev/null
+++ b/backend/minimalist_parser/tests.py
@@ -0,0 +1,3 @@
+from django.test import TestCase
+
+# Create your tests here.
diff --git a/backend/minimalist_parser/urls.py b/backend/minimalist_parser/urls.py
new file mode 100644
index 0000000..6d0a063
--- /dev/null
+++ b/backend/minimalist_parser/urls.py
@@ -0,0 +1,5 @@
+from django.urls import path
+
+from minimalist_parser.views.parse import MPParseView
+
+urlpatterns = [path("parse", MPParseView.as_view(), name="mp-parse")]
diff --git a/backend/minimalist_parser/views/parse.py b/backend/minimalist_parser/views/parse.py
new file mode 100644
index 0000000..3433020
--- /dev/null
+++ b/backend/minimalist_parser/views/parse.py
@@ -0,0 +1,8 @@
+from django.http import HttpRequest, HttpResponse, JsonResponse
+from django.views import View
+
+
+# Create your views here.
+class MPParseView(View):
+ def post(self, request: HttpRequest) -> HttpResponse:
+ return JsonResponse({"message": "MP Parser is connected!"})
diff --git a/backend/minimalist_parser/views/visualise.py b/backend/minimalist_parser/views/visualise.py
new file mode 100644
index 0000000..e69de29
diff --git a/backend/parseport/http_client.py b/backend/parseport/http_client.py
new file mode 100644
index 0000000..ac6ff76
--- /dev/null
+++ b/backend/parseport/http_client.py
@@ -0,0 +1,4 @@
+import urllib3
+
+
+http_client = urllib3.PoolManager()
diff --git a/backend/parseport/settings.py b/backend/parseport/settings.py
index ca41151..120e33e 100644
--- a/backend/parseport/settings.py
+++ b/backend/parseport/settings.py
@@ -37,6 +37,7 @@
"revproxy",
"corsheaders",
"aethel_db",
+ "minimalist_parser",
]
MIDDLEWARE = [
@@ -123,6 +124,8 @@
SPINDLE_URL = f"http://pp-spindle:32768/"
LATEX_SERVICE_URL = f"http://pp-latex:32769/"
+MINIMALIST_PARSER_URL = f"http://pp-minimalist-parser:32770/"
+VULCAN_URL = f"http://pp-vulcan:32771/"
data_subset_path = "./aethel_db/data/aethel_subset.pickle"
full_dataset_path = "/data/aethel.pickle"
diff --git a/backend/parseport/urls.py b/backend/parseport/urls.py
index 51d6cea..66d3d62 100644
--- a/backend/parseport/urls.py
+++ b/backend/parseport/urls.py
@@ -13,6 +13,7 @@
1. Import the include() function: from django.conf.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
+
from django.urls import path, include
from django.contrib import admin
from django.views.generic import RedirectView
@@ -35,6 +36,7 @@
path("api/status/", StatusView.as_view(), name="status"),
path("api/spindle/Æthel
syntactic analyses of LASSY Small, the gold standard corpus of
written Dutch.
- More info can be found under - About and - References. The - notations are explained under - Notation. -
-- You can use the interface below to search for a word or lemma. - Once you have retrieved a sample, you can inspect it to isolate - and look into a word, a type, or a word-type pair. You can then - look for other words that occur with the same type, or other - occurrences of the same word-type pair. -
- - @if (status$ | async) { -