This project can be applied to calculate repetition rate of two given files and output results to a specified file implemented by using matrix to find out all repeated strings.
This project uses Python and PyPI. Go check them out if you don't have them locally installed.
$ pip install -r requirements.txt
$ cd calc-text-repetition-rate
$ python main.py [original_file.txt] [file_to_compare_with.txt] [output.txt]
$ cd calc-text-repetition-rate/test
$ python test_matrix.py