org.maltparser.core.propagation
Class Propagation
java.lang.Object
org.maltparser.core.propagation.Propagation
public class Propagation
- extends Object
A propagation object propagate a column value from one node to a column in another node based on the propagation specification.
- Author:
- Johan Hall
Propagation
public Propagation(PropagationSpec spec,
SymbolTableHandler symbolTables)
throws MaltChainedException
- Creates a propagation object based on the propagation specification
- Parameters:
spec
- a propagation specificationsymbolTables
- a symbol table
- Throws:
MaltChainedException
propagate
public void propagate(Edge e)
throws MaltChainedException
- Propagate columns according to the propagation specification
- Parameters:
e
- an edge
- Throws:
MaltChainedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.