| Package | Description |
|---|---|
| CoOccurrence | |
| util |
| Modifier and Type | Method and Description |
|---|---|
CoOccurrence |
CoOccurrenceMatrix.put(CoOccurrence e,
CoOccurrence d)
The parameters e and d should be the same.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.HashMap<Term,java.util.ArrayList<CoOccurrence>> |
CoOccurrenceMatrix.getIndex()
Returns index representing the incidence matrix.
|
java.util.Iterator<CoOccurrence> |
CoOccurrenceMatrix.iterator()
Returns an iterator over all edges in the graph represented by
the matrix.
|
java.util.List<CoOccurrence> |
CoOccurrenceMatrix.sort()
Method for sorting Matrix.
|
static java.util.List<CoOccurrence> |
CoOccurrenceMatrix.sortCoOccrCollection(java.util.Collection<CoOccurrence> keySet,
java.util.Comparator<CoOccurrence> comp)
Method for sorting a a Collection of CoOccurrence.
|
| Modifier and Type | Method and Description |
|---|---|
int |
CoOccurrenceMatrix.CoOccComparatorFrq.compare(CoOccurrence a,
CoOccurrence b) |
CoOccurrence |
CoOccurrenceMatrix.put(CoOccurrence e,
CoOccurrence d)
The parameters e and d should be the same.
|
void |
CoOccurrenceMatrix.remove(CoOccurrence co) |
boolean |
CoOccurrenceMatrix.removeCoOccur(CoOccurrence co,
boolean removeLeaf) |
void |
CoOccurrenceMatrix.updateMatrix(CoOccurrence co)
Increases the frequency for the co-occurrence co by one.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CoOccurrenceMatrix.compareIndex(java.util.HashMap<Term,java.util.ArrayList<CoOccurrence>> index) |
void |
CoOccurrenceMatrix.setIndex(java.util.HashMap<Term,java.util.ArrayList<CoOccurrence>> index) |
static java.util.List<CoOccurrence> |
CoOccurrenceMatrix.sortCoOccrCollection(java.util.Collection<CoOccurrence> keySet,
java.util.Comparator<CoOccurrence> comp)
Method for sorting a a Collection of CoOccurrence.
|
static java.util.List<CoOccurrence> |
CoOccurrenceMatrix.sortCoOccrCollection(java.util.Collection<CoOccurrence> keySet,
java.util.Comparator<CoOccurrence> comp)
Method for sorting a a Collection of CoOccurrence.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<CoOccurrence,CoOccurrence> |
Synonyms.getCoOcc() |
java.util.Map<CoOccurrence,CoOccurrence> |
Synonyms.getCoOcc() |
| Modifier and Type | Method and Description |
|---|---|
void |
Synonyms.addTerm(CoOccurrence co) |
int |
CoOccurrenceComparator.CoOcurCompFreq.compare(CoOccurrence a,
CoOccurrence b) |
| Modifier and Type | Method and Description |
|---|---|
void |
Synonyms.addTerms(java.util.Map<CoOccurrence,CoOccurrence> cooccurrences) |
void |
Synonyms.addTerms(java.util.Map<CoOccurrence,CoOccurrence> cooccurrences) |
void |
Synonyms.setCoOccurenceMap(java.util.Map<CoOccurrence,CoOccurrence> co_occur_map) |
void |
Synonyms.setCoOccurenceMap(java.util.Map<CoOccurrence,CoOccurrence> co_occur_map) |
| Constructor and Description |
|---|
Synonyms(java.lang.String representative,
double score,
java.util.ArrayList<CoOccurrence> occurrences,
java.util.HashMap<java.lang.String,java.lang.Double> dict) |