Skip to content

Sahand-rdl/typing-test-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Typing Test CLI

A minimalist Python-based typing speed test that measures Words Per Minute (WPM) and accuracy using the Levenshtein distance algorithm for precise error calculation.

How it Works

Unlike simple string comparison, this tool calculates accuracy using the Levenshtein Distance Algorithm. This approach measures the minimum number of single-character edits (insertions, deletions, or substitutions) required to change one word into another. This ensures that even if you miss or add a character, your accuracy and speed are calculated with high precision.

Features

  • Dynamic Word Selection: Randomly samples from the top 300 most common English words.
  • Precise Accuracy: Uses the Levenshtein edit distance algorithm to calculate character-level accuracy within words.
  • Live WPM Calculation: Real-time speed reporting after the test.

Usage

  1. Run the script:
    python main.py
  2. Follow the on-screen instructions to start typing.

License

MIT

About

A minimalist Python-based typing test utilizing the Levenshtein distance algorithm for high-precision accuracy and WPM reporting.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages