org.maltparser.transform
Class PseudoProjectivity
java.lang.Object
org.maltparser.transform.PseudoProjectivity
public class PseudoProjectivity
- extends Object
This class contains methods for projectivizing and deprojectivizing
- Since:
- 1.0
- Author:
- Jens Nilsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PseudoProjectivity
public PseudoProjectivity(String markingStrategy,
String coveredRoot,
String liftingOrder,
org.apache.log4j.Logger configLogger,
SymbolTable deprelSymbolTable)
throws MaltChainedException
- Throws:
MaltChainedException
projectivize
public void projectivize(DependencyGraph pdg)
throws MaltChainedException
- Throws:
MaltChainedException
isProjective
public boolean isProjective(DependencyGraph pdg)
throws MaltChainedException
- Throws:
MaltChainedException
deprojectivize
public void deprojectivize(DependencyGraph pdg)
throws MaltChainedException
- Throws:
MaltChainedException
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.