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
775995eb
Commit
775995eb
authored
Oct 11, 2016
by
Alexis Nasr
Browse files
removed useless messages in maca_trans_parser_mcf2cff.c
parent
b7bd482b
Changes
1
Show whitespace changes
Inline
Side-by-side
maca_trans_parser/src/maca_trans_parser_mcf2cff.c
View file @
775995eb
...
...
@@ -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); */
...
...
@@ -218,15 +218,12 @@ int main(int argc, char *argv[])
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
);
...
...
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