You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 месеца
преди 7 месеца
преди 6 месеца
1234567891011121314
  1. """ Prints out all possibly-bad words in a wordlist """
  2. import sys
  3. import wordfilter
  4. if __name__ == '__main__':
  5. wfilter = wordfilter.Wordfilter()
  6. for fname in sys.argv[1:]:
  7. with open(fname, 'r') as afile:
  8. for line in afile:
  9. if wfilter.blacklisted(line):
  10. print(fname, line.strip())