Skip to content

Commit a68ac4b

Browse files
committed
Add a sent_id to the UD Converter, since the validation script used in UD tools seems to throw a fit over not having a sent_id
1 parent 2725b06 commit a68ac4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/edu/stanford/nlp/trees/ud/UniversalDependenciesConverter.java

+1
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ public static void main(String[] args) {
329329
}
330330
addSpaceAfter(sg, text, graphIdx);
331331
}
332+
System.out.println("# sent_id = " + graphIdx);
332333
System.out.print(writer.printSemanticGraph(sg, enhanced));
333334
++graphIdx;
334335
}

0 commit comments

Comments
 (0)