Commits

Lars Yencken  committed 89a84a1

Conflates xcomp and ccomp handling.

  • Participants
  • Parent commits a8801a3

Comments (0)

Files changed (1)

File parse_vis.py

             elif label in ('csubj', 'xsubj', 'ncsubj') \
                     and parts[-1] in ('obj', 'inv'):
                 label = '%s[%s]' % (label, parts.pop())
-            elif label in ('cmod', 'ncmod', 'xmod', 'ccomp'):
+            elif label.endswith('mod') or label.endswith('comp'):
                 label = "%s['%s']" % (label, parts.pop(0))
             else:
                 print >> sys.stderr, "unsure how to display this relation:"