Skip to content
forka42Public

About

A small, fast swear filter for Java that sees through leetspeak, look-alike letters and spacing without flagging innocent words.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Bleep

A small, fast swear filter for Java. It sees through leetspeak, look-alike letters, spacing and stretched letters (sh1t, fuck, f.u.c.k, fuuuck) and leaves innocent words like class and Scunthorpe alone.

repositories { maven("https://jitpack.io") }
dependencies { implementation("com.github.forka42:bleep:v0.1.0") }
Bleep bleep = Bleep.standard();
bleep.clean("what the f.u.c.k");   // "what the #######"
bleep.contains("sh1t happens");    // true

Customise it with Bleep.builder(): mild, add, allow, replacement and maskWholeWords.

MIT licensed.

About

A small, fast swear filter for Java that sees through leetspeak, look-alike letters and spacing without flagging innocent words.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages