From 775995eb495f3ea884dadd28b77a4437e2a50284 Mon Sep 17 00:00:00 2001
From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr>
Date: Tue, 11 Oct 2016 10:02:25 -0400
Subject: [PATCH] removed useless messages in maca_trans_parser_mcf2cff.c

---
 .../src/maca_trans_parser_mcf2cff.c           | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/maca_trans_parser/src/maca_trans_parser_mcf2cff.c b/maca_trans_parser/src/maca_trans_parser_mcf2cff.c
index d920d32..6676fbe 100644
--- a/maca_trans_parser/src/maca_trans_parser_mcf2cff.c
+++ b/maca_trans_parser/src/maca_trans_parser_mcf2cff.c
@@ -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);
-- 
GitLab