|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<Tree>
edu.stanford.nlp.trees.Treebank
edu.stanford.nlp.trees.CompositeTreebank
public class CompositeTreebank
| Field Summary |
|---|
| Fields inherited from class edu.stanford.nlp.trees.Treebank |
|---|
DEFAULT_TREE_FILE_SUFFIX |
| Constructor Summary | |
|---|---|
CompositeTreebank(Treebank t1,
Treebank t2)
|
|
| Method Summary | |
|---|---|
void |
apply(TreeVisitor tp)
Apply a TreeVisitor to each tree in the Treebank. |
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. |
| Methods inherited from class edu.stanford.nlp.trees.Treebank |
|---|
decimate, encoding, loadPath, loadPath, loadPath, loadPath, loadPath, remove, size, textualSummary, textualSummary, toString, transform, treeReaderFactory |
| Methods inherited from class java.util.AbstractCollection |
|---|
add, addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public CompositeTreebank(Treebank t1,
Treebank t2)
| Method Detail |
|---|
public void clear()
TreebankTreebank.
clear in interface java.util.Collection<Tree>clear in class Treebank
public void loadPath(java.io.File path,
java.io.FileFilter filt)
Treebank
loadPath in class Treebankpath - file or directory to load fromfilt - a FilenameFilter of files to loadpublic void apply(TreeVisitor tp)
Treebank
apply in class Treebanktp - The TreeVisitor to be appliedpublic java.util.Iterator<Tree> iterator()
iterator in interface java.lang.Iterable<Tree>iterator in interface java.util.Collection<Tree>iterator in class java.util.AbstractCollection<Tree>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||