Morse Code Palindromes
johndcook.com
johndcook.com
Here's the Python script I cooked up: https://gist.github.com/vesche/ada491d63d77d8afa55a599c787df...
> footstool
...doesn't look like a palindrome in the Morse rendering because the blog has a little typo and renders it as footstooll.
"Weir" is brailled ⠺⠑⠊⠗
"Andy" is ⠯⠽
I might have made it morse palindromic if I'd thought of that, instead I chose it to have a short morse and vericode length.
(I think I might have selected the palendromic available call with the shortest vericode length, but I think it was still close to the shortest morse, or maybe the other way around-- I'm not sure if I could figure out which now since I dunno what callsigns were available at the time)
Here is a one liner to get all the matching words from the dictionary using the rule in the article:
$ cat /usr/share/dict/words | perl -lne "tr /ABDFGQNVULWYabdfgqnvulwy/NVULWYABDFGQnvulwyabdfgq/; print scalar reverse" | sort | uniq | cat - /usr/share/dict/words | sort | uniq -c | awk '{if($1==2){print $2}}'
Here are the longest ones on my system:
finspot footstool gorcrow ottetto pip-pip saimins secants sememes stances topsail waifing wailing wairing waiting
It has a nice rhythm to it on the air.