This repository was created on Feb 5th, 2019 for Duke BME547's fourth homework assignment.
Please call this program in a terminal.
- In Git BASH window, type
python tachycardia.py. It will prompt the user to input their string
tachycardia.py will calculate whether or not the inputted string is similar to the word tachycardia and output:
- whether or not the string resembles tachycardia
- what the similarity ratio of the inputted and expected strings are
tachycardia.py first removes all punctuation and whitespace from the string. It then compares it directly to tachycardia. It uses the SequenceMatcher function to also allow almost-similar strings to pass as True