Show the predictive score before the sigmoid
max(a) is sigmoid(z), and sigmoid is monotone, so it ranks the collocates
the way the raw score z does - but only in principle. It is read out of
expTable, whose index is (z + MAX_EXP) * (EXP_TABLE_SIZE / MAX_EXP / 2),
integer arithmetic that comes to 83: z is bucketed at 1/83 and everything
from MAX_EXP up lands in one value, 0.99741. Of the 1000 rows for
"König - Mann + Frau" only 264 have a distinct max(a), up to fifteen share
one, and Gemahlin, römisch-deutsche, ungekrönte and Co-Fürsten sit
together on the cap.
z was computed for every candidate at every window position and dropped at
that lookup, which is what the unused max_f and maxmax_f in
getCollocators once tracked. It is carried through now, per position in
collocator.raw and as the maximum over positions in collocator.max_raw,
and shown next to max(a) as max(z).
Nothing else changes: the threshold, the ordering inside a position's list
and the auto focus all still work on the activation. The column renders
three decimals but sorts on the unrounded value.
The info page entry says that the arithmetic covers the paradigmatic and
the predictive syntagmatic analysis, and about the latter that it used to
consider only the first word form and has gained the max(z) column. The
saturation change needs no notice of its own: of ten frequent single words
the highest max(z) is 5.981, so none reaches the cap of 6 and only
expressions get past it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Change-Id: If26bd78b36e247a4250b63059114470c473fb6c5
diff --git a/templates/de/about.html.ep b/templates/de/about.html.ep
index e58acd2..02de3f6 100644
--- a/templates/de/about.html.ep
+++ b/templates/de/about.html.ep
@@ -72,7 +72,9 @@
<p>
<strong>06.09.2026</strong>
- Das Suchfeld versteht jetzt Vektorarithmetik, siehe <em>Suchanfragen</em> oben.
+ Das Suchfeld versteht jetzt Vektorarithmetik (siehe <em>Suchanfragen</em> oben) für
+ paradigmatische und prädiktiv-syntagmatische Analysen; letztere berücksichtigten
+ bisher nur die erste Wortform und wurden außerdem um die Spalte max(z) erweitert.
</p>
<p>
<strong>04.09.2026</strong>