summaryrefslogtreecommitdiff
path: root/gi/pf
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-07-28 18:54:07 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-07-28 18:54:07 -0400
commit9d54348bc14ace7f2629efd145d452650e13684a (patch)
tree59821ed7b86820f5b5df9bd179717989b84241a2 /gi/pf
parent15a653ab0d684fae36602665e82f3ef23ac5a028 (diff)
fix moved function
Diffstat (limited to 'gi/pf')
-rw-r--r--gi/pf/cfg_wfst_composer.cc3
1 files changed, 2 insertions, 1 deletions
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;