Skip to content

Commit

Permalink
update LS First -> RB First in the Treebank Corrector
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Nov 7, 2024
1 parent 1535cab commit 2945cac
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,10 @@ private static BufferedReader getBufferedReader(String source) {
"relabel bad VBN\n" +
'\n') +

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

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

0 comments on commit 2945cac

Please sign in to comment.