Skip to content
Snippets Groups Projects
Commit 5d94ed77 authored by Franck Dary's avatar Franck Dary
Browse files

Corrected a bug with vocabularies

parent 785245e8
Branches
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ void scf2fann(context *ctx)
}
feat_vec_print(stdout, classif->fv);
feat_vec_add_values_to_dicos(classif->fv, classif->fm, classif->d_tapes, m);
//feat_vec_add_values_to_dicos(classif->fv, classif->fm, classif->d_tapes, m);
count++;
}
......@@ -151,6 +151,8 @@ int main(int argc, char *argv[])
context *ctx = context_read_options(argc, argv);
maca_tm_scf2fann_check_options(ctx);
dico_unset_add_unknown_strings();
ctx->machine = tm_load(ctx->tm_filename, ctx->maca_data_path, ctx->verbose);
Tm * machine = ctx->machine;
......
......@@ -272,6 +272,8 @@ int main(int argc, char *argv[])
ctx = context_read_options(argc, argv);
maca_train_tm_check_options(ctx);
dico_unset_add_unknown_strings();
if(ctx->cff_filename)
train_perceptron(ctx);
else if(ctx->fann_filename)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment