mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Don't break text in when rendering print_msg
This commit is contained in:
parent
16a63d9676
commit
7f920c2f75
|
@ -173,7 +173,8 @@ def _wrap_text(text):
|
|||
indent = ' '
|
||||
wrap_width = wrap_max - len(indent)
|
||||
return textwrap.fill(text, width=wrap_width, initial_indent=indent,
|
||||
subsequent_indent=indent)
|
||||
subsequent_indent=indent, break_long_words=False,
|
||||
break_on_hyphens=False)
|
||||
|
||||
|
||||
def sys_exit(*messages, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue
Block a user