2019-03-07 07:23:23 +00:00
|
|
|
# cjvt-vezljivost
|
2019-03-07 08:00:01 +00:00
|
|
|
|
|
|
|
## Components
|
|
|
|
|
|
|
|
|
|
|
|
### Database (2 containers)
|
|
|
|
Input:
|
|
|
|
|
|
|
|
* ssj500k.xml
|
|
|
|
* kres.xml
|
|
|
|
* kres_SRL.json
|
|
|
|
|
|
|
|
Intermediate:
|
|
|
|
|
|
|
|
* ssj500k.json
|
|
|
|
* kres.json
|
|
|
|
|
|
|
|
Output:
|
|
|
|
|
|
|
|
* DB containing both corpora (1:1 map of the intermediate json formats)
|
|
|
|
|
|
|
|
|
|
|
|
### Flask backend (1 container)
|
|
|
|
Input: see Database
|
|
|
|
|
|
|
|
API endpoints:
|
|
|
|
|
|
|
|
* GET word list (pre-cached)
|
|
|
|
* GET reduced frames (pre-cached)
|
|
|
|
* POST senses
|
|
|
|
* User auth logic
|
|
|
|
|
|
|
|
|
|
|
|
### Vue frontend (1 container)
|
|
|
|
|
|
|
|
* ngnix server
|