"Brief Intro to Natural Language Processing (NLP)"
summary
Uses Jupyter and Python notebooks with NLTK and scikit-learn to tokenize Project Gutenberg texts, getting ~75,000 total words and ~7,400 unique tokens before cleaning, then ~3,600 sentences and ~3,100 post-stopword tokens; applies stemming and builds a TF-IDF vectorizer that yields ~14,135 features across chapters. Runs clustering (selects 11 clusters by silhouette score), NMF and LDA topic models, and inspects results with pyLDAvis; models largely group the two Austen and two Doyle books together and map test books plausibly, showing the pipeline works end-to-end.
AI-written summary · about
chapters (18)
- 0:00Start
- 2:59Why Nlp
- 4:52Nlp Text Mining
- 6:21Goals
- 6:40The Use Case or Business Need of Nlp in Insurance Business
- 8:10Tokenization
- 8:35Stop Words
- 9:11Stemming
- 11:52Bag of Words Approach
- 12:04Toy Example
- 15:21Similarity Matrix
- 20:25Methods to Tokenize
- 24:15Sentence Tokenization
- 25:19String Punctuation
- 29:13Sentence Tokenizer
- 34:49Inverse Document Frequency
- 41:30Topic Modeling
- 47:03Rules of Thumbs about the Size of Data
