mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-22 01:51:58 +03:00
Fix spans -> span for displacy style
This commit is contained in:
parent
b3c77e3e43
commit
bfd9701cef
|
@ -200,7 +200,7 @@ def render_parses(
|
|||
file_.write(html)
|
||||
|
||||
if spans:
|
||||
html = displacy.render(docs[:limit], style="spans", page=True)
|
||||
html = displacy.render(docs[:limit], style="span", page=True)
|
||||
with (output_path / "spans.html").open("w", encoding="utf8") as file_:
|
||||
file_.write(html)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user