in reply to Mystery Novelist seeks ELS generator

It shouldn't be difficult, if you reverse the problem. Instead of approaching it from the "I have XYZ text to be hidden and I want to use a distance of NNN, how do I create a text?", why not approach it from the "I have XYZ text to be hidden and here is a corpus for me to try and hide it in, where should I start and what should my distance be?"

In other words, start with your message and your corpus and then have a program that figures out where in the corpus you should start and what your distance will be.

The rest, imho, is a first-year programming exercise.

Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

  • Comment on Re: Mystery Novelist seeks ELS generator