Giter Club home page Giter Club logo

natural-language-processing's Introduction

Natural-Language-Processing

This repo contains various algorithms from the NLP domain. The following folders contains the following algorithms:

  1. A1: Sentiment lexicon-based classifier
    • Code to train a (binary) logistic regression classifier to classify movie reviews as positive or negative
    • The classifier was implemented from scratch, without using any existing implementation of logistic regression, stochastic gradient descent, or automatic differentiation
  2. A2: n-gram Modelling
    • Built and evaluated a unigram, bigram and trigram language models
    • The models were evaluated using perplexity scores
    • The code also contains linear interpolation smoothing for better performance of the language models
  3. A3: Text classification using GloVE word embeddings
    • Classified movie reviews using pre-trained word embeddings
    • Fine tuned the weights of the word embeddings for better performance
  4. A4: Viterbi Algorithm
    • Coded a modified version of the viterbi algorithm to decode the sentences, replacing each “masked” character with a character from the bigram model’s vocabulary.
  5. A5: Byte-Pair Encoding
    • Implemented the BPE algorithm from scratch

natural-language-processing's People

Contributors

sharma-apoorv avatar

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.