Inspiration
I saw the HackHarassment filter and wanted to take a quick stab at a text filter.
What it does
It will take in any text(like from an email or IM) and determine whether it should be considered harmful or not. If it is considered harassment, the program will replace all the harmful words with compliments.
How I built it
I wrote a bunch of code in matlab. It was all made from scratch and included no prewritten code outside of matlab functions.
Challenges I ran into
Converting between string, char, and cells was a common problem. Also, getting the correct function index was a challenge.
Accomplishments that I'm proud of
It will correctly index the words most of the time, and it accomplishes what I set out to do.
What I learned
Deconstructing words and speech is much more difficult than I realized.
What's next for Harassment Filter
Probably expanding the database to include more words.
Log in or sign up for Devpost to join the conversation.