diff options
author | Chris Dyer <redpony@gmail.com> | 2014-04-07 00:54:52 -0400 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-04-07 00:54:52 -0400 |
commit | cb85bfbe908f6001a92b0af99ea03f369416059e (patch) | |
tree | d4635f2fb73b0991d593c59f68b0de0773f3d499 /decoder/grammar_test.cc | |
parent | 54e527dbce04fdac6a5dc30c491b53d405d42931 (diff) |
clean up dead TRule code
Diffstat (limited to 'decoder/grammar_test.cc')
-rw-r--r-- | decoder/grammar_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoder/grammar_test.cc b/decoder/grammar_test.cc index 6d2c6e67..69240139 100644 --- a/decoder/grammar_test.cc +++ b/decoder/grammar_test.cc @@ -33,9 +33,9 @@ BOOST_AUTO_TEST_CASE(TestTextGrammar) { ModelSet models(w, ms); TextGrammar g; - TRulePtr r1(new TRule("[X] ||| a b c ||| A B C ||| 0.1 0.2 0.3", true)); - TRulePtr r2(new TRule("[X] ||| a b c ||| 1 2 3 ||| 0.2 0.3 0.4", true)); - TRulePtr r3(new TRule("[X] ||| a b c d ||| A B C D ||| 0.1 0.2 0.3", true)); + TRulePtr r1(new TRule("[X] ||| a b c ||| A B C ||| 0.1 0.2 0.3")); + TRulePtr r2(new TRule("[X] ||| a b c ||| 1 2 3 ||| 0.2 0.3 0.4")); + TRulePtr r3(new TRule("[X] ||| a b c d ||| A B C D ||| 0.1 0.2 0.3")); cerr << r1->AsString() << endl; g.AddRule(r1); g.AddRule(r2); |