Skip to content

WoodenKevin/calc-text-repetition-rate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculate Text Repetition Rate

Description

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.

Install

This project uses Python and PyPI. Go check them out if you don't have them locally installed.

$ pip install -r requirements.txt

Usage

Calculate repetition rate of two given files

$ cd calc-text-repetition-rate
$ python main.py [original_file.txt] [file_to_compare_with.txt] [output.txt]

Unit test

$ cd calc-text-repetition-rate/test
$ python test_matrix.py

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages