From 667675465486e1f9729931c0b38b5a1124a1c000 Mon Sep 17 00:00:00 2001 From: graehl Date: Tue, 10 Aug 2010 23:49:33 +0000 Subject: CFG binarize opts git-svn-id: https://ws10smt.googlecode.com/svn/trunk@503 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/cfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'decoder/cfg.h') diff --git a/decoder/cfg.h b/decoder/cfg.h index e325c4cd..808c7a32 100755 --- a/decoder/cfg.h +++ b/decoder/cfg.h @@ -29,6 +29,7 @@ class Hypergraph; class CFGFormat; // #include "cfg_format.h" +class CFGBinarize; // #include "cfg_binarize.h" struct CFG { typedef int RuleHandle; @@ -77,6 +78,7 @@ struct CFG { swap(nts,o.nts); swap(goal_nt,o.goal_nt); } + void Binarize(CFGBinarize const& binarize_options); protected: bool uninit; Hypergraph const* hg_; // shouldn't be used for anything, esp. after binarization -- cgit v1.2.3