summaryrefslogtreecommitdiff
path: root/decoder/cfg_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/cfg_format.h')
-rwxr-xr-xdecoder/cfg_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/cfg_format.h b/decoder/cfg_format.h
index 1066c510..ccf6e3fa 100755
--- a/decoder/cfg_format.h
+++ b/decoder/cfg_format.h
@@ -17,6 +17,7 @@ struct CFGFormat {
std::string nt_prefix;
std::string logprob_feat_name;
std::string partsep;
+ bool goal_nt() const { return !goal_nt_name.empty(); }
template <class Opts> // template to support both printable_opts and boost nonprintable
void AddOptions(Opts *opts) {
//using namespace boost::program_options;