Giter Club home page Giter Club logo

carpalx's Introduction

                             ___   __
                            | \ \ / /
   ___ __ _ _ __ _ __   __ _| |\ V /
  / __/ _` | '__| '_ \ / _` | | > <
 | (_| (_| | |  | |_) | (_| | |/ . \
  \___\__,_|_|  | .__/ \__,_|_/_/ \_\
                | |
                |_| v0.12

 carpalX - keyboard layout optimizer - save your carpals

 http://mkweb.bcgsc.ca/carpalx

 Martin Krzywinski <[email protected]>


ORIENTATION

Lots of typing for 10 years can leave your hands looking like cranky
twigs. Moving that pinky over and over again and rotating the
wrist. Ouch. Your fingers deserve better.

carpalx is a keyboard layout optimizer. Given a training corpus
(e.g. English text) and parameters that describe typing effort,
carpalx uses simulated annealing to find a keyboard layout to minimize
typing effort.

Typing effort is modeled using three contributions

 - base effort derived from finger travel distance
 - row, hand and finger penalties to limit use of weaker fingers/hands
      and distinguish harder-to-reach keys
 - stroke path effort, a complex figure of merit that rates the effort
      based on finger, row and hand alternation (e.g. asd is much easier to
      type than sad - this is captured by the stroke path effort)


INSTALLATION

To install, untar the distribution

  > tar xcvf carpalx-x.xx.tgz
  > cd carpax-x.xx

Binaries are in bin/ and the first line of each script should be
adjusted to reflect the location of your perl binary. For example, if
you are using /usr/bin/perl, then change

  #!/home/martink/bin/perl

to

  #!/usr/bin/perl

Each script has a manpage that can be accessed using -man. For example,

  bin/generatetriads -man

For brief usage, 

  bin/generatetriads -h


CONFIGURATION

Optimization is performed by the carpalx script and all others in bin/
are utility scripts that are not necessary for carpalx. However, they
are helpful in generated useful data files (e.g. triad lists).

carpalx uses an Apache-like configuration file which defines
variable-value pairs that control the script. Several configuration
files are found in etc/ and these are discussed in the online
tutorials (etc/tutorial-xx.conf).

Documentation for carpalx is available in the form of tutorials, e.g.

  http://mkweb.bcgsc.ca/carpalx/?keyboard_statistics


EXPERIMENTATION

carpalx is a sandbox keyboard simulator - experiment, have fun and
drop me a line if you find anything interesting!

carpalx's People

Contributors

bbjubjub2494 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.