Words are the constituent pieces of Sentences. They are either Terminals or Nonterminals
Beispiel #1
0
		public Production(string lhsName, Word rhsOnlyWord, double weight = 1.0) : this(Nonterminal.Of(lhsName), new Sentence(rhsOnlyWord), weight) {
		}
Beispiel #2
0
		public Production(Nonterminal lhs, Word rhsOnlyWord, double weight = 1.0) : this(lhs, new Sentence(rhsOnlyWord), weight) {
		}