Skip to content

dmtrs/carpalx.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carpalx.js

Build Status Coverage Status

##About

Carpalx optimizes keyboard layouts to create ones that require less effort and significantly reduced carpal strain!

The carpalx project introduces a quantitative model for typing effort and applies it to (a) evaluate QWERTY and popular alternatives, such as Dvorak and Colemak and (b) find the keyboard layouts that minimize typing effort for a given set of input documents. In the work presented here, these documents are English text, but they can be anything, such as corpora in French, Spanish and even programming languages, like C or Python.

While there are many alternate layouts, the Carpalx project proposes new layouts and a fully-baked parametric model of typing effort. Way!

©2005-2014 Martin Krzywinski

Visit homepage

##How it works

The carpalx typing effort model is based on triads, which are three character substrings formed from the training text. A triad starts at each letter position. Thus, triads overlap, though this is configurable. The effort model takes into account contributions of the following characteristics

  • finger travel distance
  • hand, finger and row penalties
  • stroke path

Detailed information information on how typing effort model works can be found here

##Setup

Clone repo and install dependencies:

$ git clone https://github.com/dmtrs/carpalx.js.git cd carpalx.js
$ npm install

##Run

Current version run the typing effort model for /usr/share/dict/words (see src/index.js):

$ bash carpalx.sh

##Test

Run testing suite with:

$ npm test

About

Carpalx typing effort model implemented in Javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published