Skip to content

Commit 84c448a

Browse files
committed
rrrrg
1 parent 815cc32 commit 84c448a

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

data/edu/stanford/nlp/dcoref/coref.properties

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ dcoref.postprocessing = true
1010
dcoref.maxdist = -1
1111
dcoref.use.big.gender.number = false
1212
dcoref.replicate.conll = true
13-
dcoref.conll.scorer = /u/scr/nlp/data/conll-2011/scorer/v4/scorer.pl
13+
# TODO maybe this can be 2012?
14+
dcoref.conll.scorer = /u/nlp/data/coref/conll-2012/scorer/v4/scorer.pl
1415

15-
dcoref.logFile = /u/scr/nlp/coref/error_log/temp/result_conlldev.txt
16-
dcoref.conll2011 = /u/scr/nlp/data/conll-2011/v2/data/dev/data/english/annotations
16+
dcoref.logFile = /u/nlp/data/coref/error_log/temp/result_conlldev.txt
17+
dcoref.conll2011 = /u/nlp/data/coref/conll-2011/v2/data/dev/data/english/annotations
1718

itest/src/edu/stanford/nlp/dcoref/DcorefSlowITest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ protected void makePropsFile(String path, String workDir, String scorer) throws
3535
}
3636

3737
public void testDcorefCoNLLResultV4() throws Exception {
38-
double finalScore = runDcoref(String.format("%s/conll-2011/scorer/v4/scorer.pl", TestPaths.testHome()));
39-
System.out.printf("Final Score (CoNLL 2011, scorer v4): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore);
38+
double finalScore = runDcoref(String.format("%s/conll-2012/scorer/v4/scorer.pl", TestPaths.testHome()));
39+
System.out.printf("Final Score (CoNLL 2012, scorer v4): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore);
4040
assertEquals(59.3, finalScore, 0.3); // 2016-07: 59.45
4141
}
4242

4343
public void testDcorefCoNLLResultV801() throws Exception {
4444
double finalScore = runDcoref(String.format("%s/conll-2012/scorer/v8.01/scorer.pl", TestPaths.testHome()));
45-
System.out.printf("Final Score (CoNLL 2011, scorer v8): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore);
45+
System.out.printf("Final Score (CoNLL 2012, scorer v8): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore);
4646
assertEquals(54.0, finalScore, 0.3); // 2016-07: 54.13
4747
}
4848

src/edu/stanford/nlp/dcoref/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ protected Constants() {} // static class but extended by jcoref
4747
public static final boolean PRINT_CONLL_OUTPUT = false;
4848

4949
/** Default path for conll scorer script */
50-
public static final String conllMentionEvalScript = "/u/scr/nlp/data/conll-2011/scorer/v4/scorer.pl";
50+
public static final String conllMentionEvalScript = "/u/nlp/data/coref/conll-2012/scorer/v4/scorer.pl";
5151

5252
/** if true, skip coreference resolution. do mention detection only */
5353
public static final boolean SKIP_COREF = false;

0 commit comments

Comments
 (0)