fanf: (dotat)
[personal profile] fanf

Compare Wikipedia's table of the relative frequencies of initial letters in English.

$ dig axfr . @f.root-servers.net |
  perl -ne '
	next unless /^(([a-z])[a-z0-9-]+)[.][  ].*/;
	$label{$1} = 1; $letter{$2}++; $total++;
	END {
		for my $x (sort keys %letter) {
			my $p = 100.0*$letter{$x}/$total;
			printf "<tr><td>$x</td>
				<td align=right>%5.2f</td>
				<td><span style=\"
					display: inline-block;
					background-color: gray;
					width: %d;\">
				&nbsp;</span></td></tr>\n",
			    $p, 32*$p;
		}
	}'
a 5.24 
b 5.96 
c10.02 
d 2.45 
e 3.28 
f 2.43 
g 5.03 
h 1.78 
i 3.38 
j 1.14 
k 2.71 
l 3.74 
m 6.69 
n 4.26 
o 0.72 
p 5.68 
q 0.65 
r 2.81 
s 6.15 
t 6.02 
u 1.91 
v 2.66 
w 1.94 
x12.19 
y 0.41 
z 0.75 

Date: 2014-02-19 12:00 (UTC)
From: [identity profile] fluffymormegil.livejournal.com
Datapoint: That doesn't appear to render as intended in Firefox 27.0.1 on Windows. All the bars are short stubs, one nbsp wide.

Date: 2014-02-19 13:01 (UTC)
From: [identity profile] fluffymormegil.livejournal.com
On closer inspection, it appears to be some kind of interaction with the LJ theme I'm using, since if I paste just the table into an empty HTML file and open that with FF27 on Windows, it works nicely.

Date: 2014-02-19 13:07 (UTC)
From: [identity profile] pseudomonas.livejournal.com
Same here.

Date: 2014-02-19 15:27 (UTC)
From: [identity profile] fivemack.livejournal.com
Interesting. In my friends-page I can see the bars; if I go to http://fanf.livejournal.com/130428.html then they all go to length one.

The 'x' is presumably all the unicode xn-??? domains

IDN domains

Date: 2014-08-21 20:53 (UTC)
From: (Anonymous)
If you filter out all ^xn-- domains the x falls to 0.33%:

a: 6.01
b: 6.49
c: 11.38
d: 3.54
e: 3.12
f: 3.50
g: 5.62
h: 3.23
i: 3.16
j: 1.33
k: 2.62
l: 4.45
m: 6.58
n: 4.25
o: 1.46
p: 5.58
q: 0.64
r: 4.20
s: 7.55
t: 5.72
u: 1.77
v: 3.29
w: 2.77
x: 0.33
y: 0.87
z: 0.54

December 2025

S M T W T F S
 123456
78910111213
14151617181920
21222324 252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2026-01-09 02:21
Powered by Dreamwidth Studios