| Package | Description |
|---|---|
| CoOccurrence | |
| util |
| Modifier and Type | Method and Description |
|---|---|
static CoOccurrenceMatrix |
FactoryforMatrixSWsynonyms.buildMatrixGR(Dictionary dictionary,
java.io.Reader textInput,
CoOccurrenceMatrix startMatrix)
Builds a co-occurrence matrix based on a starting matrix, a dictionary
and a text file using grammatical relations such as (and, or , comma).
|
static CoOccurrenceMatrix |
FactoryforMatrixSWsynonyms.buildMatrixSW(Dictionary dictionary,
java.io.Reader textInput,
CoOccurrenceMatrix startMatrix,
int windowsize)
Builds a co-occurrence matrix based on a starting matrix, a dictionary
and a text file using a sliding window.
|
static CoOccurrenceMatrix |
FactoryforMatrixSWsynonyms.createMatrixFromFile(java.io.Reader matrixSource,
Dictionary dict)
Creates a CoOccurrenceMatrix from a file.
|
CoOccurrenceMatrix |
CoOccurrenceMatrix.extractLimitedPartOfMatrix(int degree,
int limit,
java.util.ArrayList<java.lang.String> seed) |
CoOccurrenceMatrix |
CoOccurrenceMatrix.extractPartOfMatrix(int degree,
java.util.ArrayList<java.lang.String> seed)
Starting from a seed set extractPartOfMatrix iteratively extracts a
sub-matrix.
|
CoOccurrenceMatrix |
CoOccurrenceMatrix.mergeMatrix(CoOccurrenceMatrix inputMatrix)
Merges this matrix with inputMatrix and removes the duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
FactoryforMatrixSWsynonyms.addTermsInList(java.util.ArrayList<Term> list,
CoOccurrenceMatrix myMatrix) |
static CoOccurrenceMatrix |
FactoryforMatrixSWsynonyms.buildMatrixGR(Dictionary dictionary,
java.io.Reader textInput,
CoOccurrenceMatrix startMatrix)
Builds a co-occurrence matrix based on a starting matrix, a dictionary
and a text file using grammatical relations such as (and, or , comma).
|
static CoOccurrenceMatrix |
FactoryforMatrixSWsynonyms.buildMatrixSW(Dictionary dictionary,
java.io.Reader textInput,
CoOccurrenceMatrix startMatrix,
int windowsize)
Builds a co-occurrence matrix based on a starting matrix, a dictionary
and a text file using a sliding window.
|
CoOccurrenceMatrix |
CoOccurrenceMatrix.mergeMatrix(CoOccurrenceMatrix inputMatrix)
Merges this matrix with inputMatrix and removes the duplicates.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.HashMap<java.lang.String,java.util.TreeSet<java.lang.String>> |
BuildIndex.build(CoOccurrenceMatrix coMa,
java.util.HashMap<java.lang.String,java.lang.Double> dict,
java.util.regex.Pattern pat_either,
java.util.regex.Pattern pat_all,
java.lang.Double dict_part_term_thresh,
java.lang.Double dict_all_term_thresh,
java.util.Set<java.lang.String> stopwords)
builds term index from the synonym graph.
|