Natural Language Processing (NLP)
Train AI to understand and generate human language — from chatbots to language translation and sentiment analysis.
40 Problems Available
Bag-of-Words Representation
Intermediate
Create a bag-of-words model using CountVectorizer.
100 points
Solve
Capitalize First Letters
Beginner
Capitalize the first letter of each word in a sentence.
40 points
Solve
Check Palindrome
Beginner
Check if a word is a palindrome (reads same forwards and backwards).
40 points
Solve
Count Characters in String
Beginner
Count the number of characters in a string (including spaces).
30 points
Solve
Lemmatize Words
Beginner
Reduce words to their dictionary form using WordNetLemmatizer.
75 points
Solve
Part-of-Speech Tagging
Intermediate
Tag words with their part-of-speech using NLTK.
100 points
Solve
Remove Whitespace
Beginner
Remove extra whitespace from the beginning and end of a string.
30 points
Solve
Text Similarity (Cosine)
Intermediate
Calculate cosine similarity between two sentences.
100 points
Solve