diff options
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/trule.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/trule.cc b/decoder/trule.cc index 330db67f..b76a29c3 100644 --- a/decoder/trule.cc +++ b/decoder/trule.cc @@ -106,7 +106,8 @@ void assign_trule(const TRulePtr& new_rule, const unsigned int ctf_level, const bool TRule::ReadFromString(const string& line, bool strict, bool mono) { if (!is_single_line_stripped(line)) std::cerr<<"\nWARNING: building rule from multi-line string "<<line<<".\n"; - if (!(mono||strict)) { + // backed off of this: it's failing to parse TRulePtr glue(new TRule("[" + goal_nt + "] ||| [" + goal_nt + ",1] ["+ default_nt + ",2] ||| [1] [2] ||| Glue=1")); thinks [1] is the features! + if (false && !(mono||strict)) { // use lexer istringstream il(line); n_assigned=0; |