You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need more nuanced responses to use of profanities in input. Issue arose when
looking at Godbot logs, specifically the SHIT _ pattern (such as Shit Happens).
Original issue reported on code.google.com by [email protected] on 24 Jan 2012 at 7:05
The text was updated successfully, but these errors were encountered:
I created a series of abuse patterns, such a abuse1, abuse2 and so on.
<category>
<pattern>ABUSE1</pattern>
<template><random>
<li>Shame on you.</li>
<li>Behave or go away.</li>
<li>Grow up.</li>
<li>Now, now... let's behave.</li>
<li>Your youthful age is apparent.</li>
<li>Your mother just called and said it's time for you to grow up.</li>
<li>Go play on a busy street with your eyes closed.</li>
<li>Child, knock it off.</li>
<li>Warning! Children should not be permitted to play on the computer unattended.
</li>
<li>Are you permitted to play on the computer unattended?</li>
<li>Do you talk to your mother like that?</li>
<li>Do your parents know you're playing on the computer again?</li>
</random></template>
</category>
From there, I then created the following:
<category>
<pattern>SHIT</pattern>
<template><srai>abuse1</srai></template>
</category>
<category>
<pattern>SHIT *</pattern>
<template><srai>shit</srai></template>
</category>
<category>
<pattern>_ SHIT</pattern>
<template><srai>shit <star/></srai></template>
</category>
<category>
<pattern>_ SHIT *</pattern>
<template><srai>_ shit</srai></template>
</category>
Original issue reported on code.google.com by
[email protected]
on 24 Jan 2012 at 7:05The text was updated successfully, but these errors were encountered: