Beispiel #1
0
        //private double ProbabilityDistribution;


        public ProductionRule(Symbol predecessor, Word successor)
        {
            this.predecessor = predecessor;
            this.successor = successor;
        }
Beispiel #2
0
 /**
  * returns the successor string for the specified symbol, null if the rule could not be applied
  * 
  * 
  */
 public abstract Word Rewrite(Symbol symbol, int SymbolIndex, Word word);
Beispiel #3
0
 public ILProductionRule(Symbol predecessor, Word successor, Word leftContext, Word rightContext) : base(predecessor, successor)
 {
     this.leftContext  = leftContext;
     this.rightContext = rightContext;
 }