Python: Get Twitter Tweets using Tweepy Library

This article shows how you can get/fetch Tweets from Twitter API using a popular and easy to use Python Library named “Tweepy“. You can perform different tasks using the Tweepy library like: – Searching Tweets for any particular user – Searching Tweets for any particular hashtag or any text – Getting any user’s data like … Read more

Magento 2: Enabling/Viewing Full Error Display

In Magento 2.x, the full error display on frontend is disabled by default. This article shows different methods on how you can see the full error message in your Magento 2 website. I have written another article on how to Enable/View Full Error Display on Magento 1.x. This one is a similar article for Magento … Read more

Magento 1.x: Enabling/Viewing Full Error Display

In Magento 1.x, the full error display on frontend is disabled by default. This article shows different methods on how you can see the full error message on your Magento 1 website. Method 1: View full error from var/report folder By default, you will see the following message if any Magento-related error happens in your … Read more

Magento 2 Admin Error: Exception #0 (ReflectionException): Class Authorization Model Acl GroupFactory does not exist

Problem: Opened Magento 2 Admin Entered the correct admin login information And then, got the following error: Exception #0 (ReflectionException): Class Magento\Authorization\Model\Acl\Role\GroupFactory does not exist Cause: It’s related to the factory classes that Magento generates inside var/generation directory. Solution: Clearing var/generation directory solved the error. Open terminal/command-prompt Go to your Magento root directory Run the … Read more

Python NLTK: Sentiment Analysis on Movie Reviews [Natural Language Processing (NLP)]

This article shows how you can perform sentiment analysis on movie reviews using Python and Natural Language Toolkit (NLTK). Sentiment Analysis means analyzing the sentiment of a given text or document and categorizing the text/document into a specific class or category (like positive and negative). In other words, we can say that sentiment analysis classifies … Read more

Python NLTK: Twitter Sentiment Analysis [Natural Language Processing (NLP)]

This article shows how you can perform sentiment analysis on Twitter tweets using Python and Natural Language Toolkit (NLTK). Sentiment Analysis means analyzing the sentiment of a given text or document and categorizing the text/document into a specific class or category (like positive and negative). In other words, we can say that sentiment analysis classifies … Read more

Python NLTK: Text Classification [Natural Language Processing (NLP)]

This article shows how you can classify text into different categories using Python and Natural Language Toolkit (NLTK). Examples of text classification include spam filtering, sentiment analysis (analyzing text as positive or negative), genre classification, categorizing news articles, etc. There can be some categories and we need to do text analysis and classify the text/document … Read more

Python NLTK: Part-of-Speech (POS) Tagging [Natural Language Processing (NLP)]

This article shows how you can do Part-of-Speech Tagging of words in your text document in Natural Language Toolkit (NLTK). Part-of-Speech Tagging means classifying word tokens into their respective part-of-speech and labeling them with the part-of-speech tag. The tagging is done based on the definition of the word and its context in the sentence or … Read more

Python NLTK: Working with WordNet [Natural Language Processing (NLP)]

This article shows how you can use the WordNet lexical database in NLTK (Natural Language Toolkit). We deal with basic usage of WordNet and also finding synonyms, antonyms, hypernyms, hyponyms, holonyms of words. We also look into finding the similarities between any two words. WordNet means the Network of Words. So, in WordNet, the words … Read more