@ingox I see now that the approach of defining a probability matrix is hard with this abstraction. I guess we needed to generate a third [text define] which properly encodes a probability matrix (of any order). This could be generated from the input like the $0-markov text, but once we're editing and creating it as the source of the chain, we'd need to create $0-memory and $0-markov from it...
so yeah, seems like a lot of trouble.
Anyway, hope you don't mind, I'm including a variation of this abstraction in my ELSE library