All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.berkeley.nlp.PCFGLA.smoothing.Smoother Maven / Gradle / Ivy

Go to download

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