Package | Description |
---|---|
cat.lump.aq.basics.structure.ir | |
cat.lump.aq.textextraction.wikipedia.categories | |
cat.lump.ir.weighting |
Modifier and Type | Method and Description |
---|---|
int |
TermFrequencyTuple.compareTo(TermFrequencyTuple tf) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TermFrequencyTuple> |
DomainKeywords.getTermTuples() |
java.util.List<TermFrequencyTuple> |
DomainKeywords.getTopTuples() |
java.util.List<TermFrequencyTuple> |
DomainKeywords.getTopTuplesPlus(java.lang.String category) |
java.util.List<TermFrequencyTuple> |
DomainVocabulary.toList()
Exports the vocabulary as a list of tuples which contains the term and
its frequency.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainVocabulary.setTerms(java.util.Collection<TermFrequencyTuple> terms)
Sets a collection of tuples formed by a term and its frequency as
vocabulary.
|
void |
DomainKeywords.toFile(java.io.File file,
java.util.List<TermFrequencyTuple> tfs)
Saves the given list of TermFrequencyTuples into a file
|
Constructor and Description |
---|
DomainVocabulary(java.util.Locale language,
java.util.Collection<TermFrequencyTuple> terms)
Creates a vocabulary which include some initial terms with an initial
frequency.
|
Modifier and Type | Method and Description |
---|---|
TermFrequencyTuple |
TermFrequency.getTerm(java.lang.String term) |
Modifier and Type | Method and Description |
---|---|
java.util.List<TermFrequencyTuple> |
TermFrequency.getAll() |
java.util.List<TermFrequencyTuple> |
TermFrequency.getTop(int top,
int max)
Subset of terms with the highest tf up to top% or up to max
Note that not the top% is returned sometimes but a little bit more.
|
java.util.List<TermFrequencyTuple> |
TermFrequency.getTopPlus(int top,
int max,
java.util.List<java.lang.String> catTerms)
Note that not the top% is returned sometimes but a little bit more.
|
Constructor and Description |
---|
TermFrequency(java.util.List<TermFrequencyTuple> terms)
Invokes the class with an existing empty list of term tuples
|