Advertisement
Madmouse

politeness

May 11th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. politeness
  2.  
  3. count negative statements by a weight table, checking for racist slang, rude language,
  4. and personal equivalence which I will define later and keep simple now.
  5.  
  6. rudeness = Word count * phrase weight
  7.  
  8. for example:
  9. phrase_type =
  10. [
  11. racist = 10
  12. sexual = 8
  13. personal = 5
  14. gross = 2
  15. ]
  16.  
  17. "My you are a hideous pile of shit."
  18. * personal * gross
  19. word count = 2
  20. word weight = personal + gross = 7
  21. result = wc * ww = 14
  22.  
  23. "Your mother likes to suck niggers cocks in the parking lot"
  24. * personal * racist * sexual
  25.  
  26. word count = 3
  27. word weight = personal + racist + sexual = 23
  28. result = wc * ww = 69
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement