edu.stanford.nlp.trees.international.french
Class FrenchTreeNormalizer.FrenchAOverAFilter

java.lang.Object
  extended by edu.stanford.nlp.trees.international.french.FrenchTreeNormalizer.FrenchAOverAFilter
All Implemented Interfaces:
Filter<Tree>, java.io.Serializable
Enclosing class:
FrenchTreeNormalizer

public static class FrenchTreeNormalizer.FrenchAOverAFilter
extends java.lang.Object
implements Filter<Tree>

See Also:
Serialized Form

Constructor Summary
FrenchTreeNormalizer.FrenchAOverAFilter()
           
 
Method Summary
 boolean accept(Tree t)
          Doesn't accept nodes that are A over A nodes (perhaps due to empty removal or are EDITED nodes).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrenchTreeNormalizer.FrenchAOverAFilter

public FrenchTreeNormalizer.FrenchAOverAFilter()
Method Detail

accept

public boolean accept(Tree t)
Doesn't accept nodes that are A over A nodes (perhaps due to empty removal or are EDITED nodes). Also removes all w nodes.

Specified by:
accept in interface Filter<Tree>
Parameters:
t - an object to test
Returns:
Whether the object should be accepted (for some processing)


Stanford NLP Group