Coder Social home page Coder Social logo

ashish-kamboj / nlp Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 4.0 8.06 MB

Text data analysis, Name-Entity Recognition and Topic Modeling for automating and building ML models

R 0.12% Jupyter Notebook 98.84% Python 1.04%
r text-mining text-classification text-processing text-analysis python pywebio resume-parser nlp named-entity-recognition spacy nltk-python fastapi topic-modeling rest-api restful-api

nlp's Introduction

NLP/Text Analytics/Text Mining

1. Text Cleaning - It involves cleaning the text in following ways:

  • Remove words - If the data is extracted using web scraping, you might want to remove html tags.
  • Remove stop words - Stop words are a set of words which helps in sentence construction and don't have any real information. Words such as a, an, the, they, where etc. are categorized as stop words.
  • Convert to lower - To maintain a standarization across all text and get rid of case differences and convert the entire text to lower.
  • Remove punctuation - We remove punctuation since they don't deliver any information.
  • Remove number - Similarly, we remove numerical figures from text
  • Remove whitespaces - Then, we remove the used spaces in the text.
  • Stemming & Lemmatization - Finally, we convert the terms into their root form. For example: Words like playing, played, plays gets converted to the root word 'play'. It helps in capturing the intent of terms precisely.



2. Feature Engineering

  • n-grams: The idea behind this technique is to explore the chances that when one or two or more words occurs together gives more information to the model.
  • TF-IDF: It is also known as Term Frequency - Inverse Document Frequency. This technique believes that, from a document corpus, a learning algorithm gets more information from the rarely occurring terms than frequently occurring terms. Using a weighted scheme, this technique helps to score the importance of terms.
  • Cosine Similarity: This measure helps to find similar documents.



3. Model Building

  • Navie Bayes
  • SVM
  • Topic Modeling
  • Name-Entity Recognition

nlp's People

Contributors

ashish-kamboj avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.