rdavison / genkey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

genlayout

This is the layout analyzer and generator that was used to create Semimak. It is centered around the novel finger-speed metric. This program was made for myself, and because of that it's not very easy to use, especially if you don't have any programming experience. I am currently working on a powerful, configurable, and user-friendly web-based and desktop analyzer+generator.

Usage

./genkey command argument

Commands

[load] filepath

Reads the file at filepath and outputs its bigram, trigram, and skipgram data into data.json. This data is used for every other command.

[r]ank

Outputs a sorted list of all the layouts with their scores.

[a]nalyze layout

Outputs detailed analysis of a given layout.

[g]enerate

Attempts to find the optimal layout according to the scoring algorithm.

[sfbs] layout (x)

Lists the sfb frequency and most frequent sfbs. Optionally, x can be provided to set how many are listed.

[dsfbs] layout (x)

Lists the dsfb frequency and most frequent dsfbs. Optionally, x can be provided to set how many are listed.

[speed] layout (x)

Lists each finger and its unweighted speed for the layout. Optionally, x can be provided to set how many are listed.

[bigrams] layout (x)

Lists the worst bigrams for the layout. Optionally, x can be provided to set how many are listed.

License

Copyright © 2021 Colin Hughes

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

License:GNU General Public License v3.0


Languages

Language:Go 100.0%