How To Make Robots Talk. Stage 2: Prediction
A prediction engine is fed with successive input and can be asked at any time to produce a prediction. The request for a prediction may be accompanied by details, like, for example, in how many upcoming characters or lines from now on you are interested.
Many such engines can co-exist.