From ac58a78e4c2c129c838927b1479c31788fd9bd5f Mon Sep 17 00:00:00 2001 From: graehl Date: Tue, 10 Aug 2010 02:29:56 +0000 Subject: parse trule(string) using lexer - needs testing, affects earley_composer git-svn-id: https://ws10smt.googlecode.com/svn/trunk@497 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/trule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/trule.h') diff --git a/decoder/trule.h b/decoder/trule.h index 6b98a8fa..04058a41 100644 --- a/decoder/trule.h +++ b/decoder/trule.h @@ -37,7 +37,7 @@ class TRule { TRule(const TRule& other) : e_(other.e_), f_(other.f_), lhs_(other.lhs_), scores_(other.scores_), arity_(other.arity_), prev_i(-1), prev_j(-1) {} - // deprecated - this will be private soon + // if mono or strict is true, then lexer won't be used, and //FIXME: > 9 variables won't work explicit TRule(const std::string& text, bool strict = false, bool mono = false) : prev_i(-1), prev_j(-1) { ReadFromString(text, strict, mono); } -- cgit v1.2.3