Persian text NER,Sentiment,Classification analyzer by using prepared Pytorch model with Django APP
NER, Sentiment, Classification in Persian text by using prepared Pytorch model
Usage
- First of all you need to download the prepared models. Each task has it’s own model. After downloading them, you should put them into related folders.
- Use docker-compose to setup Django container by bellow command:
- Now, Django app is ready to use. Three APIs are available:
http://localhost:8040/v1/app/ner/
http://localhost:8040/v1/app/sentiment/
http://localhost:8040/v1/app/classification/
You should send POST request with text field in the body.
GitHub