edu.stanford.nlp.trees.international.arabic
Class ArabicTreeNormalizer.ArabicEmptyFilter

java.lang.Object
  extended by edu.stanford.nlp.trees.international.arabic.ArabicTreeNormalizer.ArabicEmptyFilter
All Implemented Interfaces:
Filter<Tree>, Serializable
Enclosing class:
ArabicTreeNormalizer

public static class ArabicTreeNormalizer.ArabicEmptyFilter
extends Object
implements Filter<Tree>

This one extends the one in BobChrisTreeNormalizer to also delete empty pronouns.

See Also:
Serialized Form

Constructor Summary
ArabicTreeNormalizer.ArabicEmptyFilter()
           
 
Method Summary
 boolean accept(Tree t)
          Doesn't accept nodes that only cover an empty.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArabicTreeNormalizer.ArabicEmptyFilter

public ArabicTreeNormalizer.ArabicEmptyFilter()
Method Detail

accept

public boolean accept(Tree t)
Doesn't accept nodes that only cover an empty.

Specified by:
accept in interface Filter<Tree>
Parameters:
t - an object to test


Stanford NLP Group