Skip to content

Commit

Permalink
Update parse_transitions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jemoka authored and AngledLuffa committed Jan 4, 2025
1 parent 744ea93 commit 6469d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stanza/models/constituency/parse_transitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def __format__(self, spec):
if spec is None or spec == '' or spec == 'O':
return "(%s ...)" % self.label
if spec == 'T':
return "\Tree [.%s ? ]" % self.label
return r"\Tree [.%s ? ]" % self.label
raise ValueError("Unhandled spec: %s" % spec)

def __str__(self):
Expand Down

0 comments on commit 6469d39

Please sign in to comment.