Counts and Reports
Это содержимое пока не доступно на вашем языке.
Afterburner has four cheapest routes for “at the end” when each event costs one and movement costs nothing. Two of them share the same last five events. One occurrence gives that window half a count, even though it crosses a word boundary and a cut in the analysis.
Event Windows and Counts
Section titled “Event Windows and Counts”The window begins on the last letter of “the” and finishes at the end of “end”. The price of the final quint.ends.sfdk.freq asks what share of five-event windows use the same finger on different keys at the first and fifth positions. The count stage reuses the solved paths and their bounded prefixes and suffixes. This supports wider measurements from the same solved paths while keeping the pricing history at two previous events.
Types e end
To count a window inside a factor, Keymaxx counts how many paths reach the start of that run and how many can finish from its end. In the shared graph for Afterburner’s “brrr”, the window
A window spanning factors combines the end of the first factor, the beginning of the last, and any short full streams in between. WordChains tells the analyzer how often those pieces occur together. The first five-event window above requires only the last
A Count Across a Cut
Section titled “A Count Across a Cut”Two occurrences of Afterburner’s “at the end” show how the arithmetic works. At one unit per event and zero movement costs, the “t” in “the” and “e” in “end” can each use an ordinary letter key or
Types the e
This window needs both alternate presses, so one of the four routes supplies it. Two source occurrences give 1/4 × 2 = ½.
A shorter tied route can supply a window the longer route cannot. For Magic Sturdy’s “no, but why?”, the
Types o, but w
The literal route has more intervening events between the same endpoints. The exact count of this window is one half. The denominator still includes the complete tied set.
Exact Totals by Window
Section titled “Exact Totals by Window”Afterburner’s five-event window with an alternate press at both ends also appears in “cut the end”. It still has one quarter of that sequence’s tied paths. In a corpus with two copies of “at the end” and one of “cut the end”, the same window receives ½ from the first sequence and ¼ from the second.
Keymaxx groups contributions by window width and ordered physical event IDs, then reduces each group to one fraction. A small event catalog lets it pack five IDs and the width into one machine word. Larger catalogs use wider keys. Sorting brings a window’s contributions together so one reducer can sum the whole group.
The reducer combines whole portions and fractional remainders separately. A raw sum of numerators can exceed the integer range even when the reduced answer fits; keeping the whole part separate avoids that overflow. A reduced count or an accepting-path count can still exceed its exact representation. The analyzer reports that limit before publishing a weighted result.
Reports, Words, and Trace
Section titled “Reports, Words, and Trace”A report keeps the exact weighted counts for widths one through five, the corpus’s character total, and its weighted minimum cost. A report can also retain the factor graphs and the positions that connect them, so a reader can inspect the routes behind a count. Each source occurrence divides its weight equally among the distinct minimum-cost aligned streams. Exact fractions let the analyzer sum those contributions in any order. The character total describes the text that was analyzed; an annotated corpus can separately report counts for its original written form. For the one-word Opal corpus “key”, a model that prices each event at one and adds no movement cost has precisely the two three-press routes from the first page.
Metric queries read the weighted event windows from those tables. A query can filter for a pattern of fingers or movements, calculate its frequency, and leave the analysis unchanged. In Opal’s ordinary route, all three presses are on the right hand. In the Magic route, the middle press is on the left, so the hand changes twice. Each route counts one half. The report therefore gives one weighted hand change over the two adjacent-pair positions, a frequency of 50 percent. A frequency has that denominator because the query started with adjacent pairs; starting with a five-event table would keep the five-event denominator.
Events and Their Keys
Section titled “Events and Their Keys”On Semo-e (세모이), two chords write “강가”. They form one bigram, and the report keeps the individual keys belonging to each chord.
Types 강가
The bi.kp projection pairs each of the first chord’s three keys with each of the second’s two. If this window has weight one, it contributes one to the event-window denominator. Each of its six physical pairs has weight one, so this row contributes six to the denominator for mean pair distance. Both queries use the same report.
Word Occurrences and Fresh Trace
Section titled “Word Occurrences and Fresh Trace”Opal’s Magic route shows how Words links the half-weight right-to-left pair back to “key”: the report’s factor graphs locate the pair, and the matching corpus supplies the text. On QWERTY, “walking home” and “talking home” share the written tail after their first letter. The pair
The graph can also assign a silent event to a word. In the QWERTY hold example, acquiring
Trace answers a different question: which actions can type this particular example under the current layout and cost model? It takes the example text, such as “key”, and runs a short analysis with the selected layout and cost model. For an annotated example it uses the layout’s declared input form. Its graph shows the resulting physical paths and aligns them to the output. Selecting a sentence from a corpus chooses the text for Trace; the retained corpus-wide report remains the source for word and pattern attribution.
Large corpora can also split into shards of independent sequences. If two shards each contain one occurrence of Opal’s “key”, each can contribute one half to the Magic route; reducing the two contributions gives one. Each shard contributes the counts for its own complete sequences. Reduction can add the fractions in the order the shards finish; each retained occurrence still points to its original shard and position. Dividing the corpus this way changes the work, while combining the same source occurrences gives the same kept paths and counts.
What Each Change Reuses
Section titled “What Each Change Reuses”The Opal example has one prepared corpus. Binding another layout reuses those spelling, sequence, and source tables but needs the new layout’s legal actions. Changing just the prices can reuse the legal action relation. The priced search then keeps the recent physical events needed by the new model and selects its cheapest paths.
A metric filter reads the report after the paths and their weights are determined. Word attribution needs the optional retained graphs and the matching corpus. Trace takes a fresh passage through the same analysis steps. Those are different uses of the underlying representations.
Opal’s two half-weight paths carry the same written text into the report and preserve the different motions that produced it. That is the purpose of sharing work at each stage: reuse what paths have in common and keep the distinctions that affect the answer.