Generates previous and next features for a given AdaptiveFeatureGenerator.
The window size can be specified.
Features:
Current token is always included unchanged
Previous tokens are prefixed with p distance
Next tokens are prefix with n distance

clearAdaptiveData()
Informs the feature generator that the context of the adaptive data (typically a document)
is no longer valid.

void

createFeatures(List<String> features,
String[] tokens,
int index,
String[] preds)
Adds the appropriate features for the token at the specified index with the
specified array of previous outcomes to the specified list of features.