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

  1. 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.
  1. Use docker-compose to setup Django container by bellow command:
  1. 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

View Github

 

 

 

To finish reading, please visit source site