| Package | Description |
|---|---|
| com.sharethis.textrank |
| Modifier and Type | Field and Description |
|---|---|
protected Graph |
TextRank.graph |
protected Graph |
TextRank.ngram_subgraph |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
NGram.collectNGrams(LanguageModel lang,
List<Sentence> s_list,
double rank_threshold)
Report the n-grams marked in each sentence.
|
Graph |
TextRank.getGraph()
Accessor for the graph.
|
| Modifier and Type | Method and Description |
|---|---|
static NGram |
NGram.buildNGram(Graph ngrams,
Sentence s,
List<Integer> token_span,
double max_rank)
Factory method.
|
static Node |
Node.buildNode(Graph graph,
String key,
NodeValue value)
Factory method.
|
static int |
NGram.calcStats(Graph subgraph)
Determine a statistical distribution for the n-gram subgraph.
|
void |
Sentence.mapTokens(LanguageModel lang,
Graph graph)
Main processing per sentence.
|
Copyright © 2017. All rights reserved.