If I do not write very clear, here is an example. There is a text:
It is necessary to replace the word "time" on a random word from this list:one time two three time four five time six time seven eight time nine ten time
To the result was something like this:minute
hour
day
week
month
year
Or at least that it was possible the word "time" to replace the words in the list is not by chance, but in turn (in order). That is, words are used to replace the list only once. To the result was something like this:one hour two three month four five day six hour seven eight minute nine ten minute
one minute two three hour four five day six week seven eight month nine ten year