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) ...@@ -59,9 +59,9 @@ void generate_training_file_stream(FILE *output_file, context *ctx)
c = config_initial(conll_file, ctx->mcd_struct, 5); c = config_initial(conll_file, ctx->mcd_struct, 5);
while((ref = sentence_read(conll_file_ref , ctx->mcd_struct)) && (sentence_nb < ctx->sent_nb)){ 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){ while(1){
config_print(stdout,c); /* config_print(stdout,c); */
config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, ctx->mode); config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, ctx->mode);
/* feat_vec_print(stdout, fv); */ /* feat_vec_print(stdout, fv); */
...@@ -218,15 +218,12 @@ int main(int argc, char *argv[]) ...@@ -218,15 +218,12 @@ int main(int argc, char *argv[])
else else
output_file = stdout; output_file = stdout;
if(ctx->stream_mode){
if(ctx->stream_mode)
generate_training_file_stream(output_file, ctx); generate_training_file_stream(output_file, ctx);
else }
else{
generate_training_file_buffer(output_file, ctx); generate_training_file_buffer(output_file, ctx);
}
if(ctx->mode == TRAIN_MODE){ if(ctx->mode == TRAIN_MODE){
/* dico_print(ctx->perceptron_features_filename, ctx->d_perceptron_features); */ /* dico_print(ctx->perceptron_features_filename, ctx->d_perceptron_features); */
dico_vec_print(ctx->vocabs_filename, ctx->vocabs); dico_vec_print(ctx->vocabs_filename, ctx->vocabs);
......
Supports Markdown
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