File size: 334 Bytes
c7a2ca7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import json
## list taken from https://raw.githubusercontent.com/turalus/encycloDB/master/Dirty%20Words/DirtyWords.json
with open('DirtyWords.json') as f:
data = json.load(f)
data = data['RECORDS']
dutch_badwords = [x.get('word') for x in data if x.get('language') in ['en', 'nl']]
import pprint
pprint.pprint(dutch_badwords) |