Short example of algorithm for counting number of words between 2 provided words in text
Python 3.6+
python distance.py
-f
- name of the file (file_to_process.txt
by default)
-ci
- case insensitive mode (False
by default)
-w1
- First word
-w2
- Second word
python -m unittest