Skip to content

Application demonstrating usage of polish modules in spacy.

Notifications You must be signed in to change notification settings

spacy-pl/articles-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

Installed docker and docker-compose.

Installing and deployment

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.

Built With

  • Flask - Web microframework
  • Redis - The fastest database engine on this planet
  • redis-py - Redis Python Client

Authors

  • Stanisław Giziński

License

This project is licensed under the MIT License.

REST API

Get named entities list

GET /api/NERs

Response: JSON containing list of all named entities

Get entity statistics

GET /api/NERs/<ner_name>

Response:

{
  “adjective1”: <adj1_count>,
  “adjective2”: <adj2_count>”,
  ...
}

About

Application demonstrating usage of polish modules in spacy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published