DEFAULT_TREE_FILE_SUFFIX| Constructor and Description |
|---|
FilteringTreebank(Treebank treebank,
java.util.function.Predicate<Tree> filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(TreeVisitor tv)
Applies the TreeVisitor, but only to the trees that pass the
filter.
|
void |
clear()
Empty a
Treebank. |
java.util.Iterator<Tree> |
iterator() |
void |
loadPath(java.io.File path,
java.io.FileFilter filt)
Load trees from given path specification.
|
decimate, encoding, loadPath, loadPath, loadPath, loadPath, loadPath, remove, size, textualSummary, textualSummary, toString, transform, treeReaderFactoryadd, addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic void clear()
Treebank.public void loadPath(java.io.File path,
java.io.FileFilter filt)
public void apply(TreeVisitor tv)