public class Paraphrasing extends Object implements ParaphraseService, Comparator<org.aksw.gerbil.transfer.nif.data.NamedEntity>
| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
file |
private static org.slf4j.Logger |
LOGGER |
static Properties |
prop |
| Modifier | Constructor and Description |
|---|---|
protected |
Paraphrasing() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.aksw.gerbil.transfer.nif.data.NamedEntity n1,
org.aksw.gerbil.transfer.nif.data.NamedEntity n2) |
static Paraphrasing |
create() |
static void |
main(String[] args) |
String |
paraphrase(String originalText,
String dictPath)
This method paraphrases the given text.
|
String |
synWN(String word,
String tag,
String wordnetPath) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate static final org.slf4j.Logger LOGGER
static String file
public static Properties prop
public static Paraphrasing create()
public String paraphrase(String originalText, String dictPath)
ParaphraseServiceparaphrase in interface ParaphraseServiceoriginalText - the text that should be paraphrasedpublic int compare(org.aksw.gerbil.transfer.nif.data.NamedEntity n1,
org.aksw.gerbil.transfer.nif.data.NamedEntity n2)
compare in interface Comparator<org.aksw.gerbil.transfer.nif.data.NamedEntity>Copyright © 2020. All rights reserved.