Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response to profanities #2

Open
GoogleCodeExporter opened this issue Mar 10, 2016 · 1 comment
Open

Response to profanities #2

GoogleCodeExporter opened this issue Mar 10, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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 comment by [email protected] on 6 Feb 2012 at 7:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant