3 ms·
Think of it like an ad slogan. "A man, a plan, a canal-- [you should book a trip to] Panama[, a country whose history is summed up by this witty list of things
by xamuel 8y ago
Think of it like an ad slogan.
"A man, a plan, a canal-- [you should book a trip to] Panama[, a country whose history is summed up by this witty list of things]!"
What I'd like to see is a version where instead of optimizing just for length, the palindrome is optimized for noun-phrases that genuinely have legit connections to Panama (as the brilliant original, "a plan, a man, a canal", does).
- marzell 8y agoApologies, I was actually referring to the very large (6MB!) palindrome text file [0] provided if you follow the article link to the GitHub project [1]. I guess the palindrome of discussion in this link is somewhat ambiguous, because there's not one specific palindrome that the article refers to. [0] https://raw.githubusercontent.com/rmeertens/palindromes/master/longest_palindrome.txt https://raw.githubusercontent.com/rmeertens/palindromes/mast... [1] https://github.com/rmeertens/palindromes https://github.com/rmeertens/palindromes
- xamuel 8y agoIt's the same thing. "A man, a plan, (6MB worth of other junk)-- Panama!" It's questionable what that other junk has to do with Panama. But grammatically, the structure is the same.