Documentation ¶
Index ¶
- Variables
- func Analyze(keys []string, fingers []string) Analysis
- func ColRow(pos int) (int, int)
- func DuplicatesAndMissing(l Layout) ([]string, []string)
- func DynamicFingerSpeed(l *Layout, weighted bool) []float64
- func DynamicSFBs(l Layout) float64
- func FastTrigrams(l Layout, precision int) TrigramValues
- func FingerSpeed(l *Layout, weighted bool) []float64
- func GenKeymap(keys [][]string) map[string]Pos
- func IndexUsage(l Layout) (float64, float64)
- func LSBs(l Layout) int
- func ListDynamic(l Layout) ([]FreqPair, []FreqPair)
- func ListLSBs(l Layout) []FreqPair
- func ListSFBs(l Layout, skipgrams bool) []FreqPair
- func ListWorstBigrams(l Layout) []FreqPair
- func SFBs(l Layout, skipgrams bool) float64
- func Score(l Layout) float64
- func Similarity(a, b []string) int
- func SortFreqList(pairs []FreqPair)
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamicFlag bool // flag from args (not used now)
View Source
var FingerNames = [8]string{"LP", "LR", "LM", "LI", "RI", "RM", "RR", "RP"}
View Source
var SlideFlag bool // flag from args (not used now)
View Source
var StaggerFlag bool // flag from args (not used now)
View Source
var Weight WeightData
Functions ¶
func DynamicFingerSpeed ¶
if add dynamic flag
func FastTrigrams ¶
func FastTrigrams(l Layout, precision int) TrigramValues
FastTrigrams approximates trigram counts with a given precision (precision=0 gives full data). It returns a count of {rolls, alternates, onehands, redirects, total} +
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.