You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/edu/stanford/nlp/trees/international/pennchinese/ChineseHeadFinder.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,6 @@ public ChineseHeadFinder(TreebankLanguagePack tlp) {
54
54
nonTerminalInfo.put("DP", newString[][]{{left, "DT", "DP"}}); // there's one instance of DP adjunction
55
55
nonTerminalInfo.put("DVP", newString[][]{{right, "DEV", "DEC"}}); // DVP always has DEV under it
56
56
nonTerminalInfo.put("FRAG", newString[][]{{right, "VV", "NN"}, rightExceptPunct}); //FRAG seems only to be used for bits at the beginnings of articles: "Xinwenshe<DATE>" and "(wan)"
nonTerminalInfo.put("IP", newString[][]{{left, "VP", "IP"}, rightExceptPunct}); // CDM July 2010 following email from Pi-Chuan changed preference to VP over IP: IP can be -SBJ, -OBJ, or -ADV, and shouldn't be head
59
58
nonTerminalInfo.put("LCP", newString[][]{{right, "LC", "LCP"}}); // there's a bit of LCP adjunction
60
59
nonTerminalInfo.put("LST", newString[][]{{right, "CD", "PU"}}); // covers all examples
@@ -97,7 +96,9 @@ public ChineseHeadFinder(TreebankLanguagePack tlp) {
0 commit comments