That's really more like a simple statistical model that I ran a few decades ago, at least the output looks really similar. Basically, you make a lookup table on what is likely to come after either a certain word or a letter combination - the length of which is the epoch length. Great fun for a few minutes.
Still, it's Friday, let's have a couple of cold ones! This reminds me: I'll need to drive to pick up some beer later.
And I do mean decades: one was written on a C64, the other back in school on a.... 386, I believe. I guess most of us wrote something like this. One of them even had a very rudimentary grammar module to actually construct sentences with subject, verb, object, but no sense... (module taken from an issue of the C64 magazine, I think)