aima.core.nlp.parsing.grammars.ProbabilisticGrammar Maven / Gradle / Ivy
package aima.core.nlp.parsing.grammars;
import java.util.List;
public interface ProbabilisticGrammar {
public boolean addRules( List ruleList );
public boolean addRule( Rule r );
public boolean validRule( Rule r );
public boolean validateRuleProbabilities( List ruleList );
public void updateVarsAndTerminals( Rule r );
public void updateVarsAndTerminals();
}