Begin to parse training input