Profane Filter Assignment: Profanity Detection, Analysis and Filtering
VerifiedAdded on  2019/09/16
|1
|127
|90
Homework Assignment
AI Summary
This assignment involves creating a program that detects and filters profane words from a given input string. The program should read a string from the keyboard and check if it contains any of the predefined profane words (e.g., "brown", "black", "white"), ignoring case sensitivity. The program should reject lines that contain a profane word exactly. The program should not reject lines that contain profane words as part of another word (e.g., "Whiteman" or "Brownbag"). The assignment requires the creation of a list of 12 profane words. This solution provides a comprehensive guide to help students understand and solve this assignment effectively, with the help of Desklib's AI-based tools.