edu.stanford.nlp.trees.international.arabic
Class ArabicTreeNormalizer.ArabicEmptyFilter
java.lang.Object
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
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 |
ArabicTreeNormalizer.ArabicEmptyFilter
public ArabicTreeNormalizer.ArabicEmptyFilter()
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