Skip to content

Commit 766013c

Browse files
committed
UD converter now doesn't put SpaceAfter=no on the first or middle words of an MWT
1 parent 87fe2ef commit 766013c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/src/edu/stanford/nlp/trees/ud/EnglishMWTCombinerTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class EnglishMWTCombinerTest {
1010
static final String newline = System.getProperty("line.separator");
1111
public static final String expectedITS = String.join(newline,
1212
"1-2 it's _ _ _ _ _ _ _ _",
13-
"1 it _ _ _ _ 4 nsubj _ SpaceAfter=No",
13+
"1 it _ _ _ _ 4 nsubj _ _",
1414
"2 's _ _ _ _ 4 cop _ _",
1515
"3 yours _ _ _ _ 4 advmod _ _",
1616
"4 yours _ _ _ _ 0 root _ _",
@@ -19,7 +19,7 @@ public class EnglishMWTCombinerTest {
1919
public static final String expectedCANNOT = String.join(newline,
2020
"1 I _ _ _ _ 4 nsubj _ _",
2121
"2-3 CANNOT _ _ _ _ _ _ _ _",
22-
"2 CAN _ _ _ _ 4 aux _ SpaceAfter=No",
22+
"2 CAN _ _ _ _ 4 aux _ _",
2323
"3 NOT _ _ _ _ 4 advmod _ _",
2424
"4 believe _ _ _ _ 0 root _ _",
2525
"5 it _ _ _ _ 4 obj _ _",
@@ -28,7 +28,7 @@ public class EnglishMWTCombinerTest {
2828
public static final String expectedWANNA = String.join(newline,
2929
"1 I _ _ _ _ 2 nsubj _ _",
3030
"2-3 wanna _ _ _ _ _ _ _ _",
31-
"2 wan want _ _ _ 0 root _ SpaceAfter=No",
31+
"2 wan want _ _ _ 0 root _ _",
3232
"3 na to _ _ _ 4 mark _ _",
3333
"4 fix _ _ _ _ 2 xcomp _ _",
3434
"5 this _ _ _ _ 4 obj _ _");

0 commit comments

Comments
 (0)