Category: Python Programming

Text Classification Model – Classify Text SMS As Spam Or Ham

Text Classification is a technique using which we organize or group text with some labels or categories. It is also known as Text Tagging. For example, “I am feeling very happy and energetic today”. According to Sentiment Analysis/ Text Classification, we can classify it as ‘Positive’. We use various Machine Learning algorithms/ Deep Learning techniques along with Natural language Processing (NLP) to organize text data. This article will discuss how a pre-trained Machine Learning model can classify a given text SMS as Spam or Ham. The Text Classification Model is based on the Multinomial Naive Bayes Algorithm. The complete code is written in Python Programming Language.

continue reading
No Comments

Render HTML Template In Flask With CSS And JavaScript In 2022

This article will show how we can render an HTML template in Flask with custom CSS and JavaScript. Python Flask is a module of Python that allows us to build web-based applications, APIs, etc. Flask has three main dependencies. Flask is a backend web framework based on the Python programming language. It basically allows the creation of web applications in a Pythonic syntax and concepts. With Flask, we can use Python libraries and tools in our web applications. Using Flask we can set up a web server to load up some basic HTML templates along with Jinja2 templating syntax.

continue reading
No Comments

Django Framework Python Overview- Web Framework 2022

Do you want to create web-based applications using Python programming in an efficient way? Yes, using the Django framework in Python you can quickly create web applications. In this article, we will discuss the basic overview of the Django framework.

continue reading
No Comments

Python Text To Speech: Real Jarvis Voice Audiobook In Python

Do you want to convert your text to speech just by using less than 10 lines of codes? Well! yes, using Python’s pyttsx3 module (Python text to speech module), you can convert any text to speech. The most important part of this library is- it works offline and is compatible with both Python 2 and 3. It is very easy to use tool which can converts the entire text into speech. In this article we will use real Jarvis Voice for creating an audiobook in Python for free.

continue reading
No Comments

Python API Requests- A Beginners Guide On API Python 2022

An API or Application Programming Interface is a connection between computers or computer programs. API helps two different computers to communicate and exchange data with each other. In Python, there are several HTTP libraries available to make API calls. In this tutorial, we will discuss Python API “requests” library. The other libraries available are urllib and httplib. Python “requests” library is the most simplest and elegant.

continue reading
No Comments

How To Use Chatterbot In Python With Examples – Updated 2022?

Do you want to create your Chatbot with minimum lines of codes? Yes, now it’s possible to build a Chatbot in Python in less than 20 lines of code. In one of my previous articles, I have explained in detail about building a Chatbot In Python Using NLP (NLTK). In this article, we will use a Python library named ChatterBot to build our Chatbot in Python. The ChatterBot library is very easy to use and requires only a beginner level of coding in Python.

continue reading
No Comments

Learn Python List Comprehension In 2022 (With Examples)

List Comprehension is a method or approach of creating a new list in Python based on any existing list. Learn Python List Comprehension With Examples – Create New List Based On Existing List – Simple, Efficient, and Faster than For Loops.

continue reading
No Comments

How To Make AI Chatbot In Python Using NLP (NLTK) In 2022?

Build a Chatbot in Python- Have you wondered how a computer-based application solves your query in seconds when you contact a customer support executive? A map-based application in your mobile tells you which direction to reach your destination safely even when you are not aware of the routes? Who are they and how do they manage to get your query resolved? Well! a simple answer is ‘they are chatbots’ and in this article, we will talk about AI Chatbot in Python (using NLTK): How to build a chatbot? Follow these 8 simple steps on how to build your own Chatbot in Python.

continue reading
1 Comment