public class HybridCorefPrinter
extends java.lang.Object
Document
Modifier and Type | Field and Description |
---|---|
static DiscourseMatch |
dcorefDiscourse |
static ExactStringMatch |
dcorefExactString |
static StrictHeadMatch1 |
dcorefHead1 |
static StrictHeadMatch2 |
dcorefHead2 |
static StrictHeadMatch3 |
dcorefHead3 |
static StrictHeadMatch4 |
dcorefHead4 |
static PreciseConstructs |
dcorefPreciseConstructs |
static PronounMatch |
dcorefPronounSieve |
static RelaxedExactStringMatch |
dcorefRelaxedExactString |
static RelaxedHeadMatch |
dcorefRelaxedHead |
static SpeakerMatch |
dcorefSpeaker |
static java.text.DecimalFormat |
df |
Constructor and Description |
---|
HybridCorefPrinter() |
Modifier and Type | Method and Description |
---|---|
static void |
linkDistanceAnalysis(java.lang.String[] args) |
static void |
main(java.lang.String[] args) |
static java.lang.String |
printErrorLog(Mention m,
Document document,
Counter<java.lang.Integer> probs,
int mIdx,
Dictionaries dict,
RFSieve sieve) |
static java.lang.String |
printErrorLogDcoref(Mention m,
Mention found,
Document document,
Dictionaries dict,
int mIdx,
java.lang.String whichResolver) |
static java.lang.String |
printMentionDetectionLog(Document document) |
static java.lang.String |
printRawDoc(Document document,
boolean gold,
boolean printClusterID)
Print raw document for analysis
|
static java.lang.String |
sentenceStringWithMention(int i,
Document document,
boolean gold,
boolean printClusterID) |
public static final java.text.DecimalFormat df
public static final SpeakerMatch dcorefSpeaker
public static final DiscourseMatch dcorefDiscourse
public static final ExactStringMatch dcorefExactString
public static final RelaxedExactStringMatch dcorefRelaxedExactString
public static final PreciseConstructs dcorefPreciseConstructs
public static final StrictHeadMatch1 dcorefHead1
public static final StrictHeadMatch2 dcorefHead2
public static final StrictHeadMatch3 dcorefHead3
public static final StrictHeadMatch4 dcorefHead4
public static final RelaxedHeadMatch dcorefRelaxedHead
public static final PronounMatch dcorefPronounSieve
public static java.lang.String printRawDoc(Document document, boolean gold, boolean printClusterID) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static java.lang.String printErrorLog(Mention m, Document document, Counter<java.lang.Integer> probs, int mIdx, Dictionaries dict, RFSieve sieve) throws java.lang.Exception
java.lang.Exception
public static java.lang.String sentenceStringWithMention(int i, Document document, boolean gold, boolean printClusterID)
public static java.lang.String printMentionDetectionLog(Document document)
public static java.lang.String printErrorLogDcoref(Mention m, Mention found, Document document, Dictionaries dict, int mIdx, java.lang.String whichResolver) throws java.lang.Exception
java.lang.Exception
public static void linkDistanceAnalysis(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception