Wednesday, August 19, 2009

[vmjbwmxu] Annoying names to telephone type

Typing names into (say) your cell phone, using the numeric keypad. One or multiple key presses per letter (Multi-tap). If two or more consecutive letters are on the same key, we assess a somewhat arbitrarily chosen penalty of 3.14159 key presses to let the first letter "time out" before the next letter may be entered. Calculate the average number of keypresses per letter to determine the "annoyingness" of typing that name.

ABC DEF GHI JKL MNO PQRS TUV WXYZ

The least annoying names according to this metric are:

1.00ada
1.00adam
1.00jada
1.00mat
1.00pam
1.00pat
1.00tad
1.00wat
1.17agatha
1.17amanda
1.20madge
1.20paget
1.20panda
1.20wanda
1.25dana
1.25dawn
1.25gage
1.25maud
1.25page
1.25peta
1.25tate
1.25thad

ABC DEF GHI JKL MNO PQRS TUV WXYZ

The most annoying names to type are:

4.03cissy
4.04russ
4.04suzy
4.05norris
4.05prissy
4.06conor
4.06solomon
4.06sonny
4.07gill
4.07konnor
4.08keefe
4.23sissy
4.24carson
4.24connor
4.26issac
4.26orson
4.29issy
4.29ross
4.30jefferson
4.46kizzy
4.57cass
4.57moss
4.66lizzy
5.07izzy
5.07ozzy

ABC DEF GHI JKL MNO PQRS TUV WXYZ

The full list is here: yjbtwugy. The list of names were take from Behind the Name: English Names.

It's a modern numerology or gematria.

#! perl -lw
@t=qw/abc def ghi jkl mno pqrs tuv wxyz/; for(@t){ @F=split//; for($i=0;$i<@F;++$i){ $s{$F[$i]}=$i+1; $button{$F[$i]}=$_; } } $penalty=3.14159; while(<>){ chomp; $_=lc; @F=split//; $x=0; $prevbutton=""; for(@F){ die "bad $_" unless defined($n=$s{$_}); $x+=$n; die "bb $_" unless defined($n=$button{$_}); if ($n eq $prevbutton){ $x+=$penalty; } $prevbutton=$n; } $avg=$x/(scalar@F); printf"%.2f %s\n",$avg,$_; }

No comments :