View on GitHub

nlp-in-practice

Starter code to solve real world text data problems. Includes: Gensim Word2Vec, phrase embeddings, Text Classification with Logistic Regression, word count with pyspark, simple text preprocessing, pre-trained embeddings and more.

Navigate

Running the Text Preprocessing Tutorial Notebook

  1. From the command line, first, clone this repo.
    git clone <this repo url>
    
  2. Next, switch to the text preprocessing directory of this repo.
    cd  nlp-in-practice/text-pre-processing
    
  3. Then, run jupyter notebook
    jupyter notebook
    
  4. Select Text Preprocessing Examples.ipynb, now you can re-run the cells and re-use the code!