Fix a few bugs in the generated training data. Update of the Guidelines for encoding the training data.