Text this: Tensor-networks-based learning of probabilistic cellular automata dynamics