public abstract class AbstractGlobalTermWeighter extends AbstractVectorSpaceModel implements GlobalTermWeighter, VectorFactoryContainer
GlobalTermWeighter
interface.Modifier and Type | Field and Description |
---|---|
protected VectorFactory<? extends Vector> |
vectorFactory
The vector factory.
|
Constructor and Description |
---|
AbstractGlobalTermWeighter()
Creates a new
AbstractGlobalTermWeighter . |
AbstractGlobalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
Creates a new
AbstractGlobalTermWeighter . |
Modifier and Type | Method and Description |
---|---|
VectorFactory<? extends Vector> |
getVectorFactory()
Gets the vector factory.
|
void |
setVectorFactory(VectorFactory<? extends Vector> vectorFactory)
Sets the vector factory.
|
add, addAll, remove, removeAll
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDimensionality, getGlobalWeights
add, add, addAll, getDocumentCount, remove, remove, removeAll
protected VectorFactory<? extends Vector> vectorFactory
public AbstractGlobalTermWeighter()
AbstractGlobalTermWeighter
.public AbstractGlobalTermWeighter(VectorFactory<? extends Vector> vectorFactory)
AbstractGlobalTermWeighter
.vectorFactory
- The vector factory to use.public VectorFactory<? extends Vector> getVectorFactory()
getVectorFactory
in interface VectorFactoryContainer
public void setVectorFactory(VectorFactory<? extends Vector> vectorFactory)
vectorFactory
- The vector factory.