3 ms·
How does this count as a palindrome? It's just a bunch of nonsense words (ignoring all the acronyms, are the rest all actually even really words?) separated by
by marzell 8y ago
How does this count as a palindrome? It's just a bunch of nonsense words (ignoring all the acronyms, are the rest all actually even really words?) separated by commas, that doesn't even seem to pretend to take on the structure of a sentence.
Am I misunderstanding the level of coherence of the text? If the requirements are that loose, it seems it would be trivial to generate a 'palindrome' of arbitrary length.
- xamuel 8y agoThink 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.
- deleted 8y ago[deleted]