edu.berkeley.nlp.PCFGLA.smoothing.Smoother Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
/**
*
*/
package edu.berkeley.nlp.PCFGLA.smoothing;
import java.io.Serializable;
import edu.berkeley.nlp.PCFGLA.BinaryCounterTable;
import edu.berkeley.nlp.PCFGLA.UnaryCounterTable;
import edu.berkeley.nlp.util.Numberer;
/**
* @author leon
*
*/
public interface Smoother {
public void smooth(UnaryCounterTable unaryCounter, BinaryCounterTable binaryCounter);
public void smooth(short tag, double[] ruleScores);
public void updateWeights(int[][] toSubstateMapping);
public Smoother copy();
public Smoother remapStates(Numberer thisNumberer, Numberer newNumberer);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy