Using NLP to Analyze a YouTube Lecture Series – Part 1

YouTube is one of the best places to learn online today. What if you are just curious what the main points of a series is though? We can use natural language processing to analyze a YouTube series. This way we can gain some insight into what the series is about and decide if we wantContinue reading “Using NLP to Analyze a YouTube Lecture Series – Part 1”

Private Variables in Python

There are three variable scopes you need to know. There are global variables, public variables, and private variables. Global variables can be accessed from all functions and modules in a program. Ideally they are only declared once in a whole program. Public variables belong to certain classes, but are visible to other classes, functions, andContinue reading “Private Variables in Python”

Technical Interviews: Finding the Longest Palindrome

One of the questions you could be asked if you go through a technical interview for a software engineering role is to find the longest palindrome in a given string. This is a medium easy level interview question and shouldn’t take you longer than 15 to 20 minutes to get. If you want to stopContinue reading “Technical Interviews: Finding the Longest Palindrome”

_ and __ Variables in Python

I recently received a question from someone in the Social Techies Discord channel, our tech community, about why some of my variables have “_” in front of them. This is not the first time I’ve been asked this, and when I started Python, I was curious myself. Some variables have underscores in front of them,Continue reading “_ and __ Variables in Python”

Text Sentiment Analysis and How to Do it

Sentiment analysis is an example of applied Natural Language Processing (NLP). In this context, “sentiment” is almost interchangeable with text polarity. Text polarity is a measure from -1 to 1 of the sentiment of the text. The dictionary definition of sentiment is actually “one’s view or attitude towards something”, so this could include emotions fromContinue reading “Text Sentiment Analysis and How to Do it”

What AI Keyword Extraction Is and How to Do It

Keyword extraction is an example of applied Natural Language Processing (NLP). NLP is the subfield of AI concerned with analyzing, understanding, and generating language. Keyword extraction is one of the basic techniques in NLP. The first step to keyword extraction is tokenization. After tokenizing a text, it’s a simple step to look through for aContinue reading “What AI Keyword Extraction Is and How to Do It”

Using AI to Analyze COVID Headlines Over Time

We’re coming up on the second anniversary of the COVID-19 pandemic in America. There’s been a bunch of different variants, the CDC has shifted its stance at least 20 times, and the mask and vaccine protests rage on. Given all of this, I thought it would be interesting to analyze what the news has beenContinue reading “Using AI to Analyze COVID Headlines Over Time”

RuntimeError: Event Loop is Closed asyncio Fix

There are so many solutions to this Runtime error on Stack Overflow that don’t work. If you write Python code using asyncio, you either have or most likely will run into this runtime error at some point. I personally came across this error while running asynchronous API requests. When you’re running an async/await function usingContinue reading “RuntimeError: Event Loop is Closed asyncio Fix”

Get YouTube Transcripts from the Command Line

Recently we just published a piece on how you can download YouTube Transcripts with the YouTube-Transcript-API in Python. Did you know that you can also use the YouTube-Transcript-API to get transcripts via your command line? In this post, we’ll go over how you can use a Python library to download YouTube transcripts via the commandContinue reading “Get YouTube Transcripts from the Command Line”

%d bloggers like this: