Profanity Check

1
2
def find_words(string, words_to_find):
    return [x for x in string.replace(',', '').lower().split() if x in words_to_find]

More like this

  1. Profanity Function (Disemvowel) by areich 2 years, 7 months ago
  2. Detect iPhone & Switch Template via render_to_response by bryanhelmig 1 year, 8 months ago
  3. CleanCharField by DvD 4 years, 4 months ago
  4. Tags & filters for rendering search results by exogen 3 years, 10 months ago
  5. Detect blog platform by twinsant 4 years, 8 months ago

Comments

(Forgotten your password?)