MaltParser 1.4.1

org.maltparser.core.propagation
Class Propagation

java.lang.Object
  extended by 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

Constructor Summary
Propagation(PropagationSpec spec, SymbolTableHandler symbolTables)
          Creates a propagation object based on the propagation specification
 
Method Summary
 void propagate(Edge e)
          Propagate columns according to the propagation specification
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Propagation

public Propagation(PropagationSpec spec,
                   SymbolTableHandler symbolTables)
            throws MaltChainedException
Creates a propagation object based on the propagation specification

Parameters:
spec - a propagation specification
symbolTables - a symbol table
Throws:
MaltChainedException
Method Detail

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

MaltParser 1.4.1

Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.