From 980dd8bd34aee4900ee6f5eda7f47a6443f845eb Mon Sep 17 00:00:00 2001
From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr>
Date: Wed, 14 Dec 2016 11:17:50 -0500
Subject: [PATCH] code refactoring

---
 maca_trans_parser/src/feat_model.h                      | 2 +-
 maca_trans_parser/src/simple_decoder_parser_arc_eager.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/maca_trans_parser/src/feat_model.h b/maca_trans_parser/src/feat_model.h
index 4fa12d4..6737331 100644
--- a/maca_trans_parser/src/feat_model.h
+++ b/maca_trans_parser/src/feat_model.h
@@ -10,7 +10,7 @@ typedef struct {
   int nbelem;
   feat_desc **array;
   int dim;
-    feat_lib *fl; // stores all simple features 
+  feat_lib *fl; // stores all simple features 
 } feat_model;
 
 #include "config.h"
diff --git a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c
index e523e5f..7c44a6b 100644
--- a/maca_trans_parser/src/simple_decoder_parser_arc_eager.c
+++ b/maca_trans_parser/src/simple_decoder_parser_arc_eager.c
@@ -156,7 +156,7 @@ void simple_decoder_parser_arc_eager(context *ctx)
       if(ctx->debug_mode) printf("force EOS\n");
     }
 
-    /* normal behavious, ask classifier what is the next movement to do and do it */
+    /* normal behaviour, ask classifier what is the next movement to do and do it */
     else{
       config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, LOOKUP_MODE);
       mvt_code = feature_table_argmax(fv, ft, &max);
-- 
GitLab