Package | Description |
---|---|
gov.sandia.cognition.text.term |
Provides term representing text content in documents.
|
gov.sandia.cognition.text.term.relation |
Provides relationships between terms.
|
gov.sandia.cognition.text.term.vector |
Provides methods for handling documents represented as term vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTermIndex
An abstract implementation of the
TermIndex class that handles a lot
of the convenience method implementations. |
class |
DefaultTermIndex
A default implementation of the
TermIndex interface. |
Modifier and Type | Field and Description |
---|---|
protected TermIndex |
MatrixBasedTermSimilarityNetwork.termIndex
The index of terms.
|
Modifier and Type | Method and Description |
---|---|
TermIndex |
MatrixBasedTermSimilarityNetwork.getTermIndex()
Gets the index of terms.
|
Modifier and Type | Method and Description |
---|---|
MatrixBasedTermSimilarityNetwork |
TermVectorSimilarityNetworkCreator.create(java.util.Collection<? extends Vectorizable> documents,
TermIndex termIndex)
Creates a new similarity network between the terms in the given
documents.
|
protected void |
MatrixBasedTermSimilarityNetwork.setTermIndex(TermIndex termIndex)
Sets the index of terms.
|
Constructor and Description |
---|
MatrixBasedTermSimilarityNetwork(TermIndex termIndex,
Matrix similarities)
Creates a new
MatrixBasedTermSimilarityNetwork . |
Modifier and Type | Field and Description |
---|---|
protected TermIndex |
BagOfWordsTransform.termIndex
Gets the term index used by the transform.
|
Modifier and Type | Method and Description |
---|---|
TermIndex |
BagOfWordsTransform.getTermIndex()
Gets the term index that the transform uses to map terms to their vector
indices.
|
Modifier and Type | Method and Description |
---|---|
static Vector |
BagOfWordsTransform.convertToVector(java.lang.Iterable<? extends Termable> terms,
TermIndex termIndex,
VectorFactory<?> vectorFactory)
Converts a given list of terms to a vector by counting the occurrence of
each term.
|
void |
BagOfWordsTransform.setTermIndex(TermIndex termIndex)
Sets the term index that the transform is to use to map terms to their
vector indices.
|
Constructor and Description |
---|
BagOfWordsTransform(TermIndex termIndex)
Creates a new
BagOfWordsTransform with the given term index. |
BagOfWordsTransform(TermIndex termIndex,
VectorFactory<? extends Vector> vectorFactory)
Creates a new
BagOfWordsTransform with the given term index. |