Package | Description |
---|---|
gov.sandia.cognition.text.term.vector.weighter |
Provides term weighting algorithms.
|
gov.sandia.cognition.text.term.vector.weighter.local |
Provides local term weighting algorithms.
|
Modifier and Type | Field and Description |
---|---|
protected LocalTermWeighter |
CompositeLocalGlobalTermWeighter.localWeighter
The weighting scheme for the local weights.
|
Modifier and Type | Method and Description |
---|---|
LocalTermWeighter |
CompositeLocalGlobalTermWeighter.getLocalWeighter()
Gets the weighting scheme for the local weights.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeLocalGlobalTermWeighter.setLocalWeighter(LocalTermWeighter localWeighter)
Sets the weighting scheme for the local weights.
|
Constructor and Description |
---|
CompositeLocalGlobalTermWeighter(LocalTermWeighter localWeighter,
GlobalTermWeighter globalWeighter,
TermWeightNormalizer normalizer)
Creates a new
CompositeLocalGlobalTermWeighter with the given
weighting schemes. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLocalTermWeighter
Abstract implementation of the
LocalTermWeighter interface. |
class |
BinaryLocalTermWeighter
Makes the given term weights binary, by creating a vector that contains a
1.0 for all non-zero entries in the given vector and a 0.0 for the all the
zeros.
|
class |
LogLocalTermWeighter
Implements the log-based local term weighting scheme.
|
class |
NormalizedLogLocalTermWeighter
Implements a normalized version of the log local weighter.
|
class |
TermFrequencyLocalTermWeighter
Local weighting for term frequency.
|