Repositories (1)
nondescript
1 snippets stored for this repo
wf = Wordfilter() #https://github.com/dariusk/wordfilter
#Words that may be offensive or that have undesirable results in WordNet:
ignore = ['will','more','must','there','john','screw','queer','crap','shit','ass','fuck','fucker','motherfucker','fucks','fucked','fucking']
def changewords(text):
"""Returns two texts [T1, T2]: T1 text with certain words (in all caps) followed by