Skip to content

Commit 9858858

Browse files
committed
Added comment
1 parent 434912b commit 9858858

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/pareidoscope_corenlp_json_to_conllu

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def main():
115115
if dep == "ROOT":
116116
dep = "root"
117117
dep.replace("|", "-pipe-")
118+
# Optional: check if dependency relation conforms to the guidelines (http://universaldependencies.org/format.html)
118119
# if not re.search(r"^[a-z][a-z_-]*(:[a-z][a-z_-]*)?$", dep):
119120
# print("Malformed dependency relation: %s" % dep, file=sys.stderr)
120121
# no self-loops

0 commit comments

Comments
 (0)