public class SemanticRankSummarizer extends LexRankSummarizer
Semantic based ranking summarizer which can supports differnt semantic similarity measure such as ontology based and model based.
Copyright: Copyright (c) 2005
Company: IST, Drexel University
collectionReader, distanceMetric, indexer, indexReader, powerMethod, threshold, useContinuousValue, useTFIDF| Constructor and Description |
|---|
SemanticRankSummarizer(OnlineSentenceIndexer tokenIndexer,
KnowledgeBase kngBase) |
SemanticRankSummarizer(OnlineSentenceIndexer tokenIndexer,
OnlineSentenceIndexer phraseIndexer,
KnowledgeBase kngBase) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeSimilarity(IRDoc firstSent,
IRDoc secondSent)
LexRank Summarizer uses cosine similrity.
|
void |
setBackgroundCoefficient(double coefficient) |
void |
setMaxKLDivDistance(double distance) |
void |
setTranslationCoefficient(double coefficient) |
buildWeightMatrix, getSentenceSet, setContinuousScoreOpiton, setSimilarityThreshold, summarizebuildSummary, buildSummarypublic SemanticRankSummarizer(OnlineSentenceIndexer tokenIndexer, KnowledgeBase kngBase)
public SemanticRankSummarizer(OnlineSentenceIndexer tokenIndexer, OnlineSentenceIndexer phraseIndexer, KnowledgeBase kngBase)
public void setTranslationCoefficient(double coefficient)
public void setBackgroundCoefficient(double coefficient)
public void setMaxKLDivDistance(double distance)
protected double computeSimilarity(IRDoc firstSent, IRDoc secondSent)
LexRankSummarizercomputeSimilarity in class LexRankSummarizerCopyright © 2018 JULIE Lab, Germany. All rights reserved.