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