Re:Morse Code Palindromes
by Sniffnoy on Saturday September 04, 2021 @07:59PM
(#28420540)
Huh, I assumed this was going to be palindromes ignoring the gaps between letters... like, I was thinking that "we" would be counted as a palindrome, but by the standards of this post it isn't.
Re:Morse Code Palindromes
by vesche on Saturday September 04, 2021 @11:42PM
(#28421470)
Very cool, I'd never thought about Morse code palindromes before. Using a list of ~370K English words I discovered a few other neat ones: rotor, taint, swigs, unsad, and waiting. There's only 27 morse code palindromes that are 5 characters or more in length.
Re:Morse Code Palindromes
by nullc on Sunday September 05, 2021 @12:18AM
(#28421596)
I chose my callsign to have palindromic letters, NT4TN, because I like the rhythm of it when spoken and I think the repeated words are easier to copy. November Tango Four Tango November.
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:
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.
https://www.christmaspuzzle.net/