Package | Description |
---|---|
gov.sandia.cognition.text.term |
Provides term representing text content in documents.
|
gov.sandia.cognition.text.term.relation |
Provides relationships between terms.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultIndexedTerm
Default implementation of the
IndexedTerm interface. |
Modifier and Type | Method and Description |
---|---|
IndexedTerm |
DefaultTermIndex.add(Term term) |
IndexedTerm |
TermIndex.add(Term term)
Adds the given term to the index.
|
IndexedTerm |
AbstractTermIndex.add(Termable termable) |
IndexedTerm |
TermIndex.add(Termable termable)
Adds the given term to the index.
|
IndexedTerm |
TermIndex.getIndexedTerm(int index)
Gets the index-term pair for the given index.
|
IndexedTerm |
TermIndex.getIndexedTerm(Term term)
Gets the index-term pair for the given term, if it is in the index.
|
IndexedTerm |
AbstractTermIndex.getIndexedTerm(Termable termable) |
IndexedTerm |
TermIndex.getIndexedTerm(Termable term)
Gets the index-term pair for the given term, if it is in the index.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends IndexedTerm> |
TermIndex.getTerms()
Gets all of the terms in the index.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractTermIndex.hasIndexedTerm(IndexedTerm indexedTerm) |
boolean |
TermIndex.hasIndexedTerm(IndexedTerm indexedTerm)
Determines if the given indexed term matches the term at the given index
value in this term index.
|
Modifier and Type | Method and Description |
---|---|
IndexedTerm |
MatrixBasedTermSimilarityNetwork.getRelationSource(IndexedTermSimilarityRelation relation) |
IndexedTerm |
MatrixBasedTermSimilarityNetwork.getRelationTarget(IndexedTermSimilarityRelation relation) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IndexedTerm> |
MatrixBasedTermSimilarityNetwork.getObjects() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<IndexedTermSimilarityRelation> |
MatrixBasedTermSimilarityNetwork.getAllRelations(IndexedTerm source,
IndexedTerm target) |
IndexedTermSimilarityRelation |
MatrixBasedTermSimilarityNetwork.getRelation(IndexedTerm source,
IndexedTerm target) |
double |
MatrixBasedTermSimilarityNetwork.getSimilarity(IndexedTerm source,
IndexedTerm target)
Gets the similarity between the two given terms.
|
boolean |
MatrixBasedTermSimilarityNetwork.hasRelation(IndexedTerm source,
IndexedTerm target) |
java.util.Set<IndexedTermSimilarityRelation> |
MatrixBasedTermSimilarityNetwork.relationsFrom(IndexedTerm source) |
java.util.Set<IndexedTermSimilarityRelation> |
MatrixBasedTermSimilarityNetwork.relationsOf(IndexedTerm term) |
java.util.Set<IndexedTermSimilarityRelation> |
MatrixBasedTermSimilarityNetwork.relationsTo(IndexedTerm target) |
Constructor and Description |
---|
IndexedTermSimilarityRelation(IndexedTerm source,
IndexedTerm target,
double similarity)
Creates a new
IndexedTermSimilarityRelation . |