/web_api_nlp

Create Sentence Similarity and expose them as web api

Primary LanguageHTMLMIT LicenseMIT

🚀 Document similarity measurement and web api

  • This simple project creates Document Similarity Score (using tfidf) and exposes them as a simple flask api with a minimal bootstrap framework.
  • The bigger goal is to re-use this web framework to showcase any other NLP task
  • In future, this project can be containerized into Docker very easily and can be deployed in Heroku as a fun exercise.

Start server

From the parent directory run python app.py and open http://0.0.0.0:5002/

The final output will look something like this:

image

Simple Bootstrap elements

Another major objective of this fun project is to learn simple web development, enough for show casing your NLP work. Here is a list of bootstrap elements, which helped a lot to achieve this.

TO-DO