Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 575 Bytes

File metadata and controls

15 lines (9 loc) · 575 Bytes

bloom_filter_python_implementation

This implementation requires Python3 and bitarray - https://pypi.python.org/pypi/bitarray/ Other Python libraries used - math, hashlib

To run the user choice driven program:

An input file, with a list of words (one on each line) to be added to the bloom filter, can be provided as a command line argument.

python3 main.py [optional file path]

ex: python3 main.py /usr/share/dict/american-english

Alternatively, a file path can also be provided by choosing the appropriate action from the menu.