Skip to content

Script to calculate length of travel between letters on a keyboard in a given phrase

Notifications You must be signed in to change notification settings

Naitsabot/KeyboardPhraseLength

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KeyboardPhraseLength

Script to calculate length of travel between letters on a keyboard in a given phrase/word

Works with all letters, spaces and singular symbols. (Accents are not counted.)

Status:
only has a keymap of DK-keyboard

The Calculation happens in the function phrase_key_travel from phrase_key_travel.py
Data for the keyboards kan be found in keymaps.py
main.py can be called for easy one-off calls


Terminal use

python.exe [print?-bool] "[phrase/word)" [keymap] [print?-debud-vectors-bool]

Examples:
python.exe main.py True "T| êst" DK_keymap False
pyrhon.exe main.py True "T| êst"
pyrhon.exe main.py False "T| êst"

(excuse any weird spelling og phrasing)


Inspired by and made during a Matt Parker video

About

Script to calculate length of travel between letters on a keyboard in a given phrase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages