Ejemplo n.º 1
0
        //private double ProbabilityDistribution;


        public ProductionRule(Symbol predecessor, Word successor)
        {
            this.predecessor = predecessor;
            this.successor = successor;
        }
Ejemplo n.º 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);
Ejemplo n.º 3
0
 public ILProductionRule(Symbol predecessor, Word successor, Word leftContext, Word rightContext) : base(predecessor, successor)
 {
     this.leftContext  = leftContext;
     this.rightContext = rightContext;
 }