public void TestParsing22() {
var g = new Grammar(new List<Production>{
CFGParser.Production("<X_0> → <X_1> 'x2' [6.6639601037204077]"),
CFGParser.Production("<X_1> → 'x0' 'x2' 'x2' [90.202239638754278]"),
CFGParser.Production("<X_0> → <X_0> [74.838852799422511]"),
CFGParser.Production("<X_1> → 'x1' [41.753055941664172]")
}, Nonterminal.Of("X_0"));
var sentences = new List<Sentence>();
sentences.Add(Sentence.FromWords("x1 x2"));
ExecuteTest(g, sentences);
}
}