diff --git a/data/edu/stanford/nlp/dcoref/coref.properties b/data/edu/stanford/nlp/dcoref/coref.properties index 1c8a4b0279..7a8d1eb598 100644 --- a/data/edu/stanford/nlp/dcoref/coref.properties +++ b/data/edu/stanford/nlp/dcoref/coref.properties @@ -10,8 +10,9 @@ dcoref.postprocessing = true dcoref.maxdist = -1 dcoref.use.big.gender.number = false dcoref.replicate.conll = true -dcoref.conll.scorer = /u/scr/nlp/data/conll-2011/scorer/v4/scorer.pl +# TODO maybe this can be 2012? +dcoref.conll.scorer = /u/nlp/data/coref/conll-2012/scorer/v4/scorer.pl -dcoref.logFile = /u/scr/nlp/coref/error_log/temp/result_conlldev.txt -dcoref.conll2011 = /u/scr/nlp/data/conll-2011/v2/data/dev/data/english/annotations +dcoref.logFile = /u/nlp/data/coref/error_log/temp/result_conlldev.txt +dcoref.conll2011 = /u/nlp/data/coref/conll-2011/v2/data/dev/data/english/annotations diff --git a/itest/src/edu/stanford/nlp/dcoref/DcorefSlowITest.java b/itest/src/edu/stanford/nlp/dcoref/DcorefSlowITest.java index 84eea347ee..f0699861a9 100644 --- a/itest/src/edu/stanford/nlp/dcoref/DcorefSlowITest.java +++ b/itest/src/edu/stanford/nlp/dcoref/DcorefSlowITest.java @@ -35,14 +35,14 @@ protected void makePropsFile(String path, String workDir, String scorer) throws } public void testDcorefCoNLLResultV4() throws Exception { - double finalScore = runDcoref(String.format("%s/conll-2011/scorer/v4/scorer.pl", TestPaths.testHome())); - System.out.printf("Final Score (CoNLL 2011, scorer v4): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore); + double finalScore = runDcoref(String.format("%s/conll-2012/scorer/v4/scorer.pl", TestPaths.testHome())); + System.out.printf("Final Score (CoNLL 2012, scorer v4): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore); assertEquals(59.3, finalScore, 0.3); // 2016-07: 59.45 } public void testDcorefCoNLLResultV801() throws Exception { double finalScore = runDcoref(String.format("%s/conll-2012/scorer/v8.01/scorer.pl", TestPaths.testHome())); - System.out.printf("Final Score (CoNLL 2011, scorer v8): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore); + System.out.printf("Final Score (CoNLL 2012, scorer v8): (MUC+B^3+ceafe)/3 = %.2f%n", finalScore); assertEquals(54.0, finalScore, 0.3); // 2016-07: 54.13 } diff --git a/src/edu/stanford/nlp/dcoref/Constants.java b/src/edu/stanford/nlp/dcoref/Constants.java index e5ed2779c1..b173cc73d3 100644 --- a/src/edu/stanford/nlp/dcoref/Constants.java +++ b/src/edu/stanford/nlp/dcoref/Constants.java @@ -47,7 +47,7 @@ protected Constants() {} // static class but extended by jcoref public static final boolean PRINT_CONLL_OUTPUT = false; /** Default path for conll scorer script */ - public static final String conllMentionEvalScript = "/u/scr/nlp/data/conll-2011/scorer/v4/scorer.pl"; + public static final String conllMentionEvalScript = "/u/nlp/data/coref/conll-2012/scorer/v4/scorer.pl"; /** if true, skip coreference resolution. do mention detection only */ public static final boolean SKIP_COREF = false;