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, treeReaderFactory
add, addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public void clear()
Treebank
.public void loadPath(java.io.File path, java.io.FileFilter filt)
public void apply(TreeVisitor tv)