Create a Bloom filter with lexemes from a Wikidata data dump (latest-lexemes.json.gz) and then use that to check if a dataset from the Swedish parliament contains words not already included.
As of July 2023 this file is around 400 MiB large.
curl -O https://dumps.wikimedia.org/wikidatawiki/entities/latest-lexemes.json.gz
pipenv install
pipenv run python create_bloom.py
curl -O https://data.riksdagen.se/dataset/dokument/mot-2018-2021.json.zip