| 1 |
"""On 'the N word'. |
| 2 |
|
| 3 |
--- |
| 4 |
layout: post |
| 5 |
source: Louis CK |
| 6 |
source_url: https://youtu.be/dF1NUposXVQ?t=30s |
| 7 |
title: the 'n-word' |
| 8 |
date: 2014-06-10 12:31:19 |
| 9 |
categories: writing |
| 10 |
--- |
| 11 |
|
| 12 |
Take responsibility with the shitty words you wanna say. |
| 13 |
|
| 14 |
""" |
| 15 |
from proselint.tools import existence_check, memoize |
| 16 |
|
| 17 |
|
| 18 |
@memoize |
| 19 |
def check(text): |
| 20 |
"""Check the text.""" |
| 21 |
err = "cursing.nword" |
| 22 |
msg = "Take responsibility for the shitty words you want to say." |
| 23 |
|
| 24 |
list = [ |
| 25 |
"the n-word", |
| 26 |
] |
| 27 |
|
| 28 |
return existence_check(text, list, err, msg) |