Commit 775995eb authored by Alexis Nasr's avatar Alexis Nasr
Browse files

removed useless messages in maca_trans_parser_mcf2cff.c

parent b7bd482b
......@@ -59,9 +59,9 @@ void generate_training_file_stream(FILE *output_file, context *ctx)
c = config_initial(conll_file, ctx->mcd_struct, 5);
while((ref = sentence_read(conll_file_ref , ctx->mcd_struct)) && (sentence_nb < ctx->sent_nb)){
sentence_print(stdout, ref, ctx->dico_labels);
/* sentence_print(stdout, ref, ctx->dico_labels); */
while(1){
config_print(stdout,c);
/* config_print(stdout,c); */
config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, ctx->mode);
/* feat_vec_print(stdout, fv); */
......@@ -87,8 +87,8 @@ void generate_training_file_stream(FILE *output_file, context *ctx)
/* shift dummy word in stack */
movement_shift(c, 1, 0);
/* printf("sentence complete config : ");
config_print(stdout,c); */
/* printf("sentence complete config : ");
config_print(stdout,c); */
/* empty depset */
depset_free(c->ds);
......@@ -217,16 +217,13 @@ int main(int argc, char *argv[])
output_file = myfopen(ctx->cff_filename, "w");
else
output_file = stdout;
if(ctx->stream_mode)
if(ctx->stream_mode){
generate_training_file_stream(output_file, ctx);
else
}
else{
generate_training_file_buffer(output_file, ctx);
}
if(ctx->mode == TRAIN_MODE){
/* dico_print(ctx->perceptron_features_filename, ctx->d_perceptron_features); */
dico_vec_print(ctx->vocabs_filename, ctx->vocabs);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment