{"id":23564069,"url":"https://github.com/gurpreet0022/nlp_exploration","last_synced_at":"2026-04-30T10:01:23.261Z","repository":{"id":269271410,"uuid":"906915553","full_name":"Gurpreet0022/NLP_Exploration","owner":"Gurpreet0022","description":"This repository explores various Natural Language Processing (NLP) techniques using the NLTK library in Python. It demonstrates these techniques on a sample dataset and performs sentiment analysis on movie reviews.","archived":false,"fork":false,"pushed_at":"2024-12-22T09:50:24.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-16T04:34:31.795Z","etag":null,"topics":["beginner-friendly","nlp","nlp-machine-learning","nltk","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gurpreet0022.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-22T09:46:01.000Z","updated_at":"2024-12-22T09:50:29.000Z","dependencies_parsed_at":"2024-12-22T10:30:40.470Z","dependency_job_id":"59c71384-643d-4572-983d-fc85f8c80687","html_url":"https://github.com/Gurpreet0022/NLP_Exploration","commit_stats":null,"previous_names":["gurpreet0022/nlp_exploration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gurpreet0022/NLP_Exploration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurpreet0022%2FNLP_Exploration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurpreet0022%2FNLP_Exploration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurpreet0022%2FNLP_Exploration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurpreet0022%2FNLP_Exploration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gurpreet0022","download_url":"https://codeload.github.com/Gurpreet0022/NLP_Exploration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gurpreet0022%2FNLP_Exploration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beginner-friendly","nlp","nlp-machine-learning","nltk","scikit-learn"],"created_at":"2024-12-26T17:12:37.307Z","updated_at":"2026-04-30T10:01:23.204Z","avatar_url":"https://github.com/Gurpreet0022.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NLP Techniques and Sentiment Analysis with NLTK\n\nThis notebook explores various Natural Language Processing (NLP) techniques using the NLTK library in Python. It demonstrates these techniques on a sample dataset and performs sentiment analysis on movie reviews.\n\n## Tasks Performed\n\n### NLP Techniques\n\n1. **Data Loading and Preprocessing:** Loads a sample dataset for demonstrating NLP techniques.\n2. **Tokenization:** Splits text into individual words.\n3. **Stop Word Removal:** Removes common words that don't contribute to analysis.\n4. **Stemming:** Reduces words to their base form.\n5. **Part-of-Speech Tagging:** Assigns grammatical tags to words.\n6. **Named Entity Recognition (NER):** Identifies named entities in the text.\n7. **Lemmatization:** Similar to stemming, but finds the dictionary form of words.\n8. **Corpora Exploration:** Accesses and explores text collections from NLTK's corpora.\n9. **WordNet Exploration:** Analyzes word relationships using WordNet.\n\n### Sentiment Analysis\n\n1. **Movie Reviews Dataset:** Uses the NLTK movie reviews dataset for sentiment analysis.\n2. **Feature Extraction:** Extracts relevant features (words) from the reviews.\n3. **Naive Bayes Classifier:** Trains a Naive Bayes classifier to predict sentiment (positive/negative).\n4. **Accuracy Evaluation:** Evaluates the classifier's accuracy on a test set.\n5. **Saving the Classifier:** Saves the trained classifier using Pickle for later use.\n\n## Libraries Used\n\n- NLTK\n- Pandas\n- NumPy\n- Pickle\n\n## Datasets\n\n- A sample dataset for demonstrating NLP techniques.\n- The NLTK movie reviews dataset for sentiment analysis.\n\n## Usage\n\n1. Make sure you have the required libraries installed.\n2. Upload the sample dataset to your Google Colab environment (if needed).\n3. Run the notebook cells sequentially.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurpreet0022%2Fnlp_exploration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgurpreet0022%2Fnlp_exploration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgurpreet0022%2Fnlp_exploration/lists"}