diff options
Diffstat (limited to 'decoder/cfg.h')
-rwxr-xr-x | decoder/cfg.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |