Giter Site home page Giter Site logo

nlp-all-in-one's Introduction

NLP All in One

A complete NLP guideline covering all the main steps required to approach any NLP project. The pipeline include EDA, data cleaning, modeling, results interpretation. The data is taken from a Kaggle competition named Real or Not? NLP with Disaster Tweets where the goal to predict if a tweet is about any disasterous situation or not. This data is selected as it contains different type of variables like text, categorical, geographical etc. The EDA contains various visualizations and since github do not display all of these plots, so these plot are being displayed using the saved images for the display purposes. The original plots and maps are interactive.

Setup

  • Install all dependencies
  • Download data
  • Download GloVe vectors

Functionalities Covered

  • Initial EDA with pandas-profiling
  • Target variable distribution visualization
  • Categorical variable(s) distribution
  • Word clouds for train, test dataset
  • Visualize text data in 2D using glove and tfidf
  • Check embeddings coverage for our corpus
  • Interactive plots for geo-graphical features
  • N-gram plots
  • Spell correction
  • Extracting meta features e.g. num of words, num of punctuations, num of numerals per class
  • Extracting readability features e.g. Fog Scale, Flesch Reading Ease, Flesch-Kincaid Grade Level etc
  • Sentiment analysis using Allen-NLP
  • Modeling using FastText classifier
  • Threshold search for improved results
  • Model results explainability with LIME

Credits and Downloads:

nlp-all-in-one's People

Contributors

faysal887 avatar

Stargazers

Osama Ahmed Tahir avatar Mikail avatar  avatar Usman Khan Niazi avatar Shahrukh Khan 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.