| Package | Description |
|---|---|
| net.seninp.jmotif.text |
Provides implementations of text mining algorithms, datastructures and metrics.
|
| Modifier and Type | Method and Description |
|---|---|
WordBag |
WordBag.clone() |
WordBag |
WordBag.clone() |
WordBag |
TextProcessor.seriesToWordBag(String label,
double[] ts,
Params params)
Converts time series to a word bag.
|
WordBag |
TextProcessor.seriesToWordBag(String label,
double[] ts,
Params params)
Converts time series to a word bag.
|
| Modifier and Type | Method and Description |
|---|---|
List<WordBag> |
TextProcessor.labeledSeries2WordBags(Map<String,List<double[]>> data,
Params params) |
List<WordBag> |
TextProcessor.labeledSeries2WordBags(Map<String,List<double[]>> data,
Params params) |
| Modifier and Type | Method and Description |
|---|---|
double |
TextProcessor.augmentedTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
double |
TextProcessor.augmentedTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
int |
TextProcessor.classify(String trueClassLabel,
WordBag test,
HashMap<String,HashMap<String,Double>> tfidf) |
int |
TextProcessor.classify(String trueClassLabel,
WordBag test,
HashMap<String,HashMap<String,Double>> tfidf) |
String |
TextProcessor.classify(WordBag test,
HashMap<String,HashMap<String,Double>> tfidf) |
String |
TextProcessor.classify(WordBag test,
HashMap<String,HashMap<String,Double>> tfidf) |
double |
TextProcessor.cosineSimilarity(WordBag testSample,
HashMap<String,Double> weightVector) |
double |
TextProcessor.cosineSimilarity(WordBag testSample,
HashMap<String,Double> weightVector) |
double |
TextProcessor.cosineSimilarityInstrumented(WordBag testSample,
HashMap<String,Double> weightVector,
HashMap<String,Double> insight) |
double |
TextProcessor.cosineSimilarityInstrumented(WordBag testSample,
HashMap<String,Double> weightVector,
HashMap<String,Double> insight) |
double |
TextProcessor.logAveTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
double |
TextProcessor.logAveTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
double |
TextProcessor.logTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
double |
TextProcessor.logTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
void |
WordBag.mergeWith(WordBag otherBag)
Implements merge operation for this bag with some other bag.
|
void |
WordBag.mergeWith(WordBag otherBag)
Implements merge operation for this bag with some other bag.
|
double |
TextProcessor.normalizedTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
double |
TextProcessor.normalizedTF(WordBag bag,
String term)
Compute TF (term frequency) metrics.
|
String |
TextProcessor.wordBagToTable(WordBag bag) |
String |
TextProcessor.wordBagToTable(WordBag bag) |
| Modifier and Type | Method and Description |
|---|---|
String |
TextProcessor.bagsToTable(List<WordBag> bags) |
String |
TextProcessor.bagsToTable(List<WordBag> bags) |
HashMap<String,HashMap<String,Double>> |
TextProcessor.computeTFIDF(Collection<WordBag> texts)
Computes TF*IDF values.
|
HashMap<String,HashMap<String,Double>> |
TextProcessor.computeTFIDF(Collection<WordBag> texts)
Computes TF*IDF values.
|
int |
TextProcessor.df(HashMap<String,WordBag> bags,
String string)
Compute document frequency, DF, metrics.
|
int |
TextProcessor.df(HashMap<String,WordBag> bags,
String string)
Compute document frequency, DF, metrics.
|
double |
TextProcessor.idf(HashMap<String,WordBag> bags,
String string)
Compute idf (inverse document frequency) metrics.
|
double |
TextProcessor.idf(HashMap<String,WordBag> bags,
String string)
Compute idf (inverse document frequency) metrics.
|
Copyright © 2021. All rights reserved.