Coder Social home page Coder Social logo

thecraftman / deploy-a-nlp-similarity-api-using-docker Goto Github PK

View Code? Open in Web Editor NEW
153.0 2.0 31.0 10.67 MB

Build a RESTFUL-API for Similarity Check using Natural Language Processing and generative AI

Dockerfile 4.41% Python 95.59%
python3 flask spacy restful-api natural-language-processing docker docker-compose pymongo api-rest natural-language

deploy-a-nlp-similarity-api-using-docker's Introduction

RESTful API For Similarity Check Using Natural Language Processing

INTRODUCTION

  • Build a Similarity check API using NLP, run and deploy using Docker & Docker-compose.

Documents similarity

Document similarity (or distance between documents) is a one of the central themes in Information Retrieval. How humans usually define how similar are documents? Usually documents treated as similar if they are semantically close and describe similar concepts. On other hand “similarity” can be used in context of duplicate detection. We will review several common approaches.

imageSimilarity


OBJECTIVE

The objective of this API is to handle Similarity of text (PLAGIARISM CHECK)

API ARCHITECTURE

RESOURCES URL(PATH) METHOD PARAMETERS STATUSCODE
Register a user /register POST username, password 200:OK, 301:INVALID USERNAME
Detect Similarity of docs /detect POST username, password , text1 & text2 200:OK RETURN SIMILARITY , 301:INVALID USERNAME, 302:INVALID PASSWORD, 303:OUT OF TOKENS
Refill /refill POST username, admin_pw, refill_amount 200:OK, 301:INVALID USERNAME , 304:INVALID ADMIN_PW

REQUIREMENTS

  • spacy.io is an open-source software library for advanced Natural Language Processing, written in the programming languages Python, it is very easy python processing module.

Download the spacy model from here

  • Flask framework, see how to install and run the flask framework here , for more details

  • pymongo, PyMongo is a Python distribution containing tools for working with MongoDB download and install pymongo from here

  • Docker

  • Docker-compose.yml


Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.


How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter, Hackernews or Destructoid ? Spread the word!

Don't forget to follow me on twitter

Thanks! Ore-Aruwaji Tola.

deploy-a-nlp-similarity-api-using-docker's People

Contributors

anshg1109 avatar thecraftman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

deploy-a-nlp-similarity-api-using-docker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.