Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexis Nasr
macaon2
Commits
4a73fa70
Commit
4a73fa70
authored
Aug 07, 2016
by
Alexis Nasr
Browse files
fixed bug in simple_decoder_forrest.c
parent
1085378c
Changes
1
Show whitespace changes
Inline
Side-by-side
maca_trans_parser/src/simple_decoder_forrest.c
View file @
4a73fa70
...
...
@@ -23,8 +23,8 @@ void simple_decoder_buffer_forrest(context *ctx, FILE *f, feature_table *ft, int
/* read a sentence and put it in the buffer */
while
(
queue_read_sentence
(
c
->
bf
,
f
,
ctx
->
mcd_struct
)){
while
(
!
config_is_terminal
(
c
)){
config2feat_vec_cff
(
ctx
->
features_model
,
c
,
ctx
->
d_perceptron_features
,
fv
,
LOOKUP_MODE
);
/*
config2feat_vec_cff(ctx->features_model, c, ctx->d_perceptron_features, fv, LOOKUP_MODE);
*/
config2feat_vec_fann
(
ctx
->
features_model
,
c
,
fv
,
LOOKUP_MODE
);
/* FORREST : this is where the DNN should be called */
/* fv is the feature vector that contains the values of the features extracted from configuration c */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment