Python NLTK: Stemming & Lemmatization [Natural Language Processing (NLP)]

This article shows how you can do Stemming and Lemmatisation on your text using NLTK. You can read about introduction to NLTK in this article: Introduction to NLP & NLTK The main goal of stemming and lemmatization is to convert related words to a common base/root word. It’s a special case of text normalization. STEMMING … Read more

Python NLTK: Stop Words [Natural Language Processing (NLP)]

This article shows how you can use the default Stopwords corpus present in Natural Language Toolkit (NLTK). To use stopwords corpus, you have to download it first using the NLTK downloader. In my previous article on Introduction to NLP & NLTK, I have written about downloading and basic usage example of different NLTK corpus data. … Read more

Natural Language Processing (NLP): Basic Introduction to NLTK [Python]

Natural Language Processing (NLP) is about the processing of natural language by computer. It’s about making computer/machine understand about natural language. Natural language means the language that humans speak and understand. Natural Language Toolkit (NLTK) is a suite of Python libraries for Natural Language Processing (NLP). NLTK contains different text processing libraries for classification, tokenization, … Read more

Bubble Sort implementation in Python [Data Structures & Algorithms]

This article deals with implementing Bubble Sort algorithm using Python programming language. Bubble Sort is a simple sorting algorithm that compares each element in the list with its adjacent element and sort that pair of elements if they are not in order. There can be multiple iterations while sorting. Each iteration can be named as … Read more

Hash Table implementation in Python [Data Structures & Algorithms]

This article deals with implementing Hash Table using Python programming language. Hash Table is a data structure where data are stored in an associative manner (in key, value format). The key/index is unique. This kind of storage makes it easier to find the data later on. Hash Table stores data into an array format. It … Read more

Binary Search implementation in Python [Data Structures & Algorithms]

This article deals with the binary search algorithm implementation in Python programming language. Binary search is an improvement to linear search. Binary search requires the searched list to be an ordered list, i.e. the list items should be sorted in ascending order (increasing order). Binary Search This algorithm is a good example of Divide and … Read more

Linear Search implementation in Python [Data Structures & Algorithms]

This article deals with the linear search or sequential search algorithm. It’s a very simple search algorithm. Linear Search In the linear search algorithm: We start searching a list for a particular value from the first item in the list. We move from item to item from the first item to the last item in … Read more

Titanic: Machine Learning from Disaster – Kaggle Competition Solution using Python

Kaggle is an online platform that hosts different competitions related to Machine Learning and Data Science. Titanic is a great Getting Started competition on Kaggle. This is one of the highly recommended competitions to try on Kaggle if you are a beginner in Machine Learning and/or Kaggle competition itself. This competition contains the dataset of … Read more

Guide to Recommender System research containing Sentiment Analysis & Machine Learning

Below is the step-by-step beginner guide to conduct experiment on any Recommender System research that contains some work on Natural Language Processing (NLP) as well. So, this can be a guide to NLP research work as well specifically for Sentiment Analysis. Recommender System research can include users’ reviews text and process them using Sentiment Analysis … Read more