initial import from http://sourceforge.net/p/voicekey/atrain/ci/default/tree/