public interface VectorSpaceModel
Modifier and Type | Method and Description |
---|---|
void |
add(Vector document)
Adds a document to the model.
|
void |
add(Vectorizable document)
Adds a document to the model.
|
void |
addAll(java.lang.Iterable<? extends Vectorizable> documents)
Adds all of the given documents to the model.
|
int |
getDocumentCount()
Gets the number of documents that this object is using for its model
|
boolean |
remove(Vector document)
Removes the document from the model.
|
boolean |
remove(Vectorizable document)
Removes the document from the model.
|
boolean |
removeAll(java.lang.Iterable<? extends Vectorizable> documents)
Removes all of the given documents from the model.
|
void add(Vectorizable document)
document
- Adds a document to the model.void add(Vector document)
document
- Adds a document to the model.void addAll(java.lang.Iterable<? extends Vectorizable> documents)
documents
- The documents to add.boolean remove(Vectorizable document)
document
- The document to remove.boolean remove(Vector document)
document
- The document to remove.boolean removeAll(java.lang.Iterable<? extends Vectorizable> documents)
documents
- The documents to remove.int getDocumentCount()