Installed docker and docker-compose.
Get file articles.json
from repository https://github.com/spacy-pl/utils (folder data/scrapping, on branch feature/scrapping) and put it in folder process
.
Then run
# download static files necessary for web app to run
pip install requests
python web/download_static.py
# build all docker images
docker-compose build
in main folder.
- Flask - Web microframework
- Redis - The fastest database engine on this planet
- redis-py - Redis Python Client
- Stanisław Giziński
This project is licensed under the MIT License.
GET /api/NERs
Response: JSON containing list of all named entities
GET /api/NERs/<ner_name>
Response:
{
“adjective1”: <adj1_count>,
“adjective2”: <adj2_count>”,
...
}