Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 278 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 278 Bytes

cppure

A basic profanity filter written in C++

Include the header file and compile cppure.cpp

#include "cppure.h"

Load a wordlist

cppure::load_wordlist("wordlist.txt");

Cleanse a string

auto cleansed = cppure::cleanse("badword");