I wonder what the optimal encoding is given a list of banned words for any substring of a message.
Unless I've gotten confused about the limits of dynamic prediction abilities in ANS.
I think it's just that the encoder and decoder run in opposite directions through the encoded symbols, but read-ahead during decoding shouldn't be a problem...