Author name: Pavani Torlikonda

Emotion detection from strings in Python

Emotion detection from strings in Python 1. Install and Import Libraries Following installs the transformers library from Hugging Face, imports the pipeline function from the transformers library, imports the login function from the Hugging Face Hub, imports the pandas library for data manipulation, imports the seaborn library for data visualization. pip install transformers -q from …

Emotion detection from strings in Python Read More »

Slang word detection in Python

Slang word detection in Python Method 1: Detect Slang Words Using Built-in Functions A predefined list of slang words. slang_words = [ ‘bruh’, ‘lit’, ‘fam’, ‘dope’, ‘bae’, ‘yolo’, ‘gucci’, ‘savage’, ‘salty’, ‘thirsty’, ‘ghost’, ‘throwing shade’, ‘woke’, ‘fomo’, ‘stan’, ‘slay’, ‘goat’, ‘sus’, ‘flex’, ‘tea’, ‘clap back’, ‘basic’ ] The below function opens the specified file file_path, …

Slang word detection in Python Read More »

Hand-written digit detection in Python

Handwritten digit detection in Python What is Handwritten Digit Recognition? Handwritten digit recognition refers to the capability of computers to identify human handwritten numbers. This task is challenging for machines because handwritten digits are often imperfect and can vary significantly in appearance. Handwritten digit recognition addresses this issue by analyzing an image of a digit …

Hand-written digit detection in Python Read More »

Scroll to Top