Generating all Possible Palindromes from Ngram Corpora
Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence. Special Track on Artificial Intelligence and the Arts. Pages 2489-2494.
Abstract
We address the problem of generating all possible palindromes from a corpus of Ngrams. Palindromes are texts that read the same both ways. Short palindromes (race car) usually carry precise, significant meanings. Long palindromes are often less meaningful, but even harder to generate. The palindrome generation problem has never been addressed, to our knowledge, from a strictly combinatorial point of view. The main difficulty is that generating palindromes require the simultaneous consideration of two inter-related levels in a sequence: the character and the word levels. Although the problem seems very combinatorial, we propose an elegant yet non-trivial graph structure that can be used to generate all possible palindromes from a given corpus of Ngrams, with a linear complexity. We illustrate our approach with short and long palindromes obtained from the Google Ngram corpus. We show how we can control the semantics, to some extent, by using arbitrary text corpora to bias the probabilities of certain sets of words. More generally this work addresses the issue of modelling human virtuosity from a combinatorial viewpoint, as a means to understand human creativity.
@inproceedings{ijcai2015p353,
title = {Generating all Possible Palindromes from Ngram Corpora},
author = {Papadopoulos, Alexandre and Roy, Pierre and Régin, Jean-Charles and Pachet, François},
booktitle = {Proceedings of the Twenty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-15}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Qiang Yang and Michael Wooldridge},
pages = {2489--2494},
year = {2015},
month = {7},
note = {Special Track on Artificial Intelligence and the Arts},
url = {https://ijcai.org/proceedings/2015/353},
}
TY - CPAPER TI - Generating all Possible Palindromes from Ngram Corpora AU - Papadopoulos, Alexandre AU - Roy, Pierre AU - Régin, Jean-Charles AU - Pachet, François T2 - Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-15 PB - International Joint Conferences on Artificial Intelligence PY - 2015 SP - 2489 EP - 2494 UR - https://ijcai.org/proceedings/2015/353 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: