From 879de8e4060d24a978331fc9b74f930ec7b53dfa Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Sat, 28 Jul 2012 18:54:07 -0400 Subject: fix moved function --- gi/pf/cfg_wfst_composer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gi') diff --git a/gi/pf/cfg_wfst_composer.cc b/gi/pf/cfg_wfst_composer.cc index 517446d4..19c0875d 100644 --- a/gi/pf/cfg_wfst_composer.cc +++ b/gi/pf/cfg_wfst_composer.cc @@ -16,6 +16,7 @@ #include "sparse_vector.h" #include "tdict.h" #include "hg.h" +#include "hg_remove_eps.h" namespace po = boost::program_options; using namespace std; @@ -359,7 +360,7 @@ class CFG_WFSTComposerImpl { } if (goal_node) { forest->PruneUnreachable(goal_node->id_); - forest->EpsilonRemove(kEPS); + RemoveEpsilons(forest, kEPS); } FreeAll(); return goal_node; -- cgit v1.2.3