We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56cd6bb commit a606afaCopy full SHA for a606afa
src/edu/stanford/nlp/trees/PennTreebankLanguagePack.java
@@ -29,7 +29,7 @@ public PennTreebankLanguagePack() {
29
private static final String[] collinsPunctTags = {"''", "``", ".", ":", ","};
30
31
// new tokenizers should return (), old tokenizers return -LRB- -RRB-. so we anticipate both
32
- private static final String[] pennPunctWords = {"''", "'", "``", "`", "-LRB-", "-RRB-", "(", ")", "-LCB-", "-RCB-", ".", "?", "!", ",", ":", "-", "--", "...", ";"};
+ private static final String[] pennPunctWords = {"{", "}", "''", "'", "``", "`", "-LRB-", "-RRB-", "(", ")", "-LCB-", "-RCB-", ".", "?", "!", ",", ":", "-", "--", "...", ";"};
33
34
private static final String[] pennSFPunctWords = {".", "!", "?"};
35
0 commit comments