MCPcopy Create free account
hub / github.com/BotLibre/BotLibre / checkProfanity

Method checkProfanity

ai-engine/source/org/botlibre/util/Utils.java:795–818  ·  view source on GitHub ↗

If the word is profanity, map it to something less offensive.

(String text, int type)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

checkProfanityMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
addDefaultResponsesMethod · 0.95
addGreetingMethod · 0.95
addQuestionResponsesMethod · 0.95
processSaveMethod · 0.95
processSaveDataMethod · 0.95
saveMethod · 0.95
saveMethod · 0.95
checkProfanityMethod · 0.95
checkProfanityMethod · 0.95

Calls 3

atEndMethod · 0.95
nextWordMethod · 0.95
toLowerCaseMethod · 0.45

Tested by

no test coverage detected