modnlp.tc.dstruct
public class NewsItemAsBooleanVector extends java.lang.Object
Constructor and Description |
---|
NewsItemAsBooleanVector(java.util.Vector categs,
boolean[] tvect,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
addCategory(java.lang.String topic) |
boolean[] |
getBooleanTextArray() |
java.util.Enumeration |
getCategories() |
java.util.Vector |
getCategVector() |
java.lang.String |
getId()
Get the value of id.
|
void |
setId(java.lang.String v)
Set the value of id.
|
public NewsItemAsBooleanVector(java.util.Vector categs, boolean[] tvect, java.lang.String id)
public void addCategory(java.lang.String topic)
public java.util.Enumeration getCategories()
public java.util.Vector getCategVector()
public boolean[] getBooleanTextArray()
public java.lang.String getId()
public void setId(java.lang.String v)
v
- Value to assign to id.