randomly generates word-like strings and randomly generates sentence-like strings