Skip to content

DataForScience/NLP

Repository files navigation

GitHub Twitter @data4sci GitHub top language GitHub repo size GitHub last commit

Graphs For Science Sunday Briefing

Binder

Natural Language Processing For Everyone

Code and slides to accompany the online series of webinars: https://data4sci.com/nlp by Data For Science.

Run the code in Binder: Binder

The rise of online social platforms has resulted in an explosion of written text in the form of blogs, posts, tweets, wiki pages, and more. This new wealth of data provides a unique opportunity to explore natural language in its many forms, both as a way of automatically extracting information from written text and as a way of artificially producing text that looks natural.

In this class we introduce viewers to natural language processing from scratch. Each concept is introduced and explained through coding examples using nothing more than just plain Python and numpy. In this way, attendees learn in depth about the underlying concepts and techniques instead of just learning how to use a specific NLP library.

Schedule

1. Text Representation

  • Represent words and numbers
  • Use One-Hot Encoding
  • Implement Bag of Words
  • Apply stopwords
  • Understand TF/IDF
  • Understand Stemming

2. Topic Modeling

  • Find topics in documents
  • Perform Explicit Semantic Analysis
  • Understand Document clustering
  • Implement Latent Semantic Analysis
  • Implement Non-negative Matrix factorization

3. Sentiment Analysis

  • Quantify words and feelings
  • Use Negations and modifiers
  • Understand corpus based approaches

4. Applications

  • Understand Word2vec word embeddings
  • Define GloVe
  • Apply Language detection

Slides: http://data4sci.com/landing/nlp/