Skip to content

Commit 2945cac

Browse files
committed
update LS First -> RB First in the Treebank Corrector
1 parent 1535cab commit 2945cac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/edu/stanford/nlp/trees/treebank/EnglishPTBTreebankCorrector.java

+4
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,10 @@ private static BufferedReader getBufferedReader(String source) {
12301230
"relabel bad VBN\n" +
12311231
'\n') +
12321232

1233+
// First, second, third are treated as LS in PTB
1234+
// but in UD EWT, GUM, etc they are treated as RB
1235+
("@ADVP <: LS=bad\n" +
1236+
"relabel bad RB\n\n") +
12331237

12341238
("@SBAR < (DT|WDT|NN|NNP|RB=bad < that|because|while|Though|Whether)\n" +
12351239
"relabel bad IN\n" +

0 commit comments

Comments
 (0)