|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.udo.cs.wvtool.main.WVTFileInputList
public class WVTFileInputList
This class represents a list of information items describing the documents, from which a word list or word vectors should be created.
Field Summary | |
---|---|
private java.util.List |
inputList
the list of input files |
private int |
numClasses
the number of classes |
Constructor Summary | |
---|---|
WVTFileInputList(int numClasses)
Creates a new empty instance of WVTInputList |
|
WVTFileInputList(int numClasses,
java.io.Reader xmlSource)
Creates a new instance of WVTInputList by reading a XML file |
Method Summary | |
---|---|
void |
addEntry(WVTDocumentInfo d)
Add an entry to the list. |
java.util.Iterator |
getEntries()
Return the list of entries |
java.util.Iterator |
getEntries(boolean expanded)
Return the list of entries |
int |
getNumClasses()
Returns the numClasses. |
void |
removeEntry(WVTDocumentInfo d)
Remove an entry from the list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.List inputList
private int numClasses
Constructor Detail |
---|
public WVTFileInputList(int numClasses)
numClasses
- the number of class values, 0 if no classes are
providedpublic WVTFileInputList(int numClasses, java.io.Reader xmlSource)
numClasses
- the number of class valuesxmlSource
- the nameMethod Detail |
---|
public java.util.Iterator getEntries(boolean expanded)
expanded
- should the list be expanded? (directoriy entries are
converted to a list of files)
public void addEntry(WVTDocumentInfo d)
d
- the entrypublic void removeEntry(WVTDocumentInfo d)
d
- the entrypublic int getNumClasses()
getNumClasses
in interface WVTInputList
public java.util.Iterator getEntries()
WVTInputList
getEntries
in interface WVTInputList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |