(21-11-2026, 04:34 PM)nablator wrote: You are not allowed to view links. Register or Login to view.(21-11-2026, 04:18 PM)DG97EEB wrote: You are not allowed to view links. Register or Login to view.I don't see the point given you can select any one of the transliterations
Do you understand that transliterations have no geometrical information whatsoever? How do you check alignments without it?
Yes, a transliteration has no geometry. The X value is a rough proxy: letter index divided by line length. It assumes every letter is the same width and words are evenly spaced, which isn’t true on the scan. So this test only asks whether the streaks show up in the text sequence itself. It doesn’t say much about the physical alignment on the folio.
Measuring each gallows’ x-position from the scan is tedious, and the letter sequence test offers a quick check before committing to that. The result was null: the real paragraph had no more streaks than scrambled versions of the same text. That doesn’t rule out a physical effect, but the effect just doesn’t appear in the letter-sequence version.
Disclosure: the analysis was run by an AI assistant (Claude) in a script I haven’t independently audited, and I haven’t inspected the shuffled pages myself. No OCR was involved. The input is a transliteration of the first paragraph of f58v, which I chose because it showed the strongest effect by eye. Parameters, set before running: tolerance ±0.03 of line length, max slope 0.1 per line, minimum 3 lines, lines at least 80% of median length, 2,000 shuffles per null. Code below. Please rerun it and check for bugs.
Code:
mkdir -p /home/claude && cd /home/claude && cat > data.txt << 'EOF'
line 1
tol
shokchy
opaiin
opaiin
chofaly
ypar
ypal
opal
opaldaiin
line 2
dair
or
chhaiin
tair
y
qotalody
s
aiin
okeody
qotair
ar
alor
orky
line 3
todal
qotain
qokeol
okey
qokalchal
daly
ar
aim
line 4
or
aiin
okair
y
dair
al
qokal
qokaiin
qokaly
okar
olkaly
okal
line 5
faiir
ofas
ar
qotaiin
sholy
qotaiin
yqokaly
okal
qokaly
okaly
line 6
qokair
ar
aly
daiin
choly
dal
ykaiin
org
fchey
okaly
oky
line 7
y
daiin
qokeey
qokar
lchedy
qokalor
sheols
oteor
aiin
cheky
line 8
taiin
ckhey
daldy
qokair
alar
ytal
aiin
otaiin
ykaiin
ykaly
dam
line 9
salal
qolaiin
chockhey
tcholy
qokaiin
qokaiinos
orcheey
olaly
line 10
ykair
shey
key
ctholy
qotalom
qokals
qokaiin
okal
okaldy
ory
line 11
tchol
shol
tor
qokair
or
y
ykaiin
dory
okaiir
chodaiin
otals
line 12
oreeey
cheekey
cheal
qokey
chedal
dy
tolair
opchey
poaly
cfhy
line 13
qoeear
alkeain
ytal
chos
alor
okal
chcthy
tal
ckhhy
kar
line 14
shar
air
chol
oeear
sho
qotal
chol
tal
ar
tar
aropam
line 15
qot
oiin
okal
aral
s
air
qoal
talchos
okal
cho
ytam
dam
line 16
ykam
qokair
okaly
qokal
chaly
cheockhey
olaly
taldar
al
line 17
daiin
alal
dal
otal
chodol
qokeal
cheol
chos
okeeam
line 18
taiin
chal
sheal
qockhy
dar
aiin
ockhey
qokeey
qoaiin
aral
line 19
okain
chokal
sheoldy
qokor
olkam
cheol
dar
chokeey
okalchy
line 20
tolain
ar
ykeain
qokeey
otal
chol
okal
ar
chhty
chkalarol
line 21
olain
olalor
odaiin
qetair
otal
qokal
otam
line 22
okar
sheey
shekealy
EOF
cat > analyze.py << 'EOF'
import re, random, statistics, sys
lines=[]; cur=None
for tok in open('data.txt').read().split('\n'):
tok=tok.strip()
if not tok: continue
if tok.startswith('line'):
cur=[]; lines.append(cur)
else: cur.append(tok)
strs=[''.join(l) for l in lines]
lens=[len(s) for s in strs]
print("n lines",len(lines)); print("lens",lens)
med=statistics.median(lens); print("median",med)
GAL=re.compile(r'c[tkpf]h|[tkpf]')
def points(words_lines, minfrac=0.8, ref_med=None):
pts=[] # (Y, X)
for y,ws in enumerate(words_lines):
s=''.join(ws); L=len(s)
if L < minfrac*med: continue
for m in GAL.finditer(s):
pos=m.start()+(1 if len(m.group())==3 else 0)
pts.append((y,(pos+0.5)/L))
return pts
TOL=0.03; CMAX=0.10
def chains(pts):
by={}
for y,x in pts: by.setdefault(y,[]).append(x)
found=[] # maximal chains length>=3
used=set()
ys=sorted(by)
for y0 in ys:
for x0 in by[y0]:
for x1 in by.get(y0+1,[]):
c=x1-x0
if abs(c)>CMAX: continue
ch=[(y0,x0),(y0+1,x1)]
k=2
while True:
cand=[x for x in by.get(y0+k,[]) if abs(x-(x0+c*k))<=TOL]
if not cand: break
ch.append((y0+k,min(cand,key=lambda x:abs(x-(x0+c*k))))); k+=1
if len(ch)>=3: found.append(ch)
return found
def stats(wl):
p=points(wl); ch=chains(p)
# maximal only: drop chains contained in longer ones
keys=[frozenset(c) for c in ch]
maxi=[c for c,k in zip(ch,keys) if not any(k<k2 for k2 in keys)]
# dedupe
uniq={frozenset(c):c for c in maxi}
cs=list(uniq.values())
return len(p), len(cs), sum(len(c) for c in cs), max([len(c) for c in cs],default=0), cs
npts,nch,tot,mx,cs=stats(lines)
print("REAL: gallows pts",npts,"chains>=3:",nch,"pts in chains:",tot,"longest:",mx)
for c in sorted(cs,key=lambda c:-len(c))[:10]:
print([ (y+1,round(x,2)) for y,x in c])
# Null A: pool all words, shuffle, refill lines to original letter lengths
allw=[w for l in lines for w in l]
def refill(words,targets):
out=[];i=0
for T in targets:
cur=[];n=0
while i<len(words) and (n==0 or abs(n+len(words[i])-T)<abs(n-T)):
cur.append(words[i]); n+=len(words[i]); i+=1
out.append(cur)
return out
random.seed(1)
N=2000
A=[];B=[]
for _ in range(N):
w=allw[:]; random.shuffle(w)
r=refill(w,lens)
A.append(stats(r)[1:4])
r2=[random.sample(l,len(l)) for l in lines]
B.append(stats(r2)[1:4])
def rep(name,R):
for i,lab in enumerate(["chains","pts in chains","longest"]):
vals=[r[i] for r in R]; real=[nch,tot,mx][i]
p=sum(v>=real for v in vals)/len(vals)
print(f"{name} {lab}: null mean {statistics.mean(vals):.2f}, real {real}, P(null>=real)={p:.3f}")
rep("Null A (pool shuffle+refill)",A)
rep("Null B (shuffle within line)",B)
EOF
python3 analyze.py
