Counting and Weighting Results
Esta página aún no está disponible en tu idioma.
The same matching report rows can contribute different numbers depending on how often they occur and what each occurrence measures.
Rows, occurrences, and weights
Section titled “Rows, occurrences, and weights”On QWERTY, .count for matching rows with map(...).sum for their occurrence weights. Both use the sfdk filter:
bi.sfdk.countbi.sfdk.map(1).sumFor a percentage of all bigram occurrences, divide the matching occurrence weight by the total weight of all bigrams with .freq. Multiplying by 100 expresses the fraction as a percentage:
bi.sfdk.freq * 100In a weighted average, a frequent pair contributes more than a rare one. Divide weighted distance by the weight of the same physical key pairs selected with kp:
bi.sfdk.kp.map(d).sum / bi.sfdk.kp.map(1).sum