Update docstrings

This commit is contained in:
ines 2017-05-14 19:30:47 +02:00
parent a04550605a
commit 9dd13cd76a
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def render(docs, style='dep', page=False, minify=False, jupyter=False, options={
minify (bool): Minify HTML markup. minify (bool): Minify HTML markup.
jupyter (bool): Experimental, use Jupyter's display() to output markup. jupyter (bool): Experimental, use Jupyter's display() to output markup.
options (dict): Visualiser-specific options, e.g. colors. options (dict): Visualiser-specific options, e.g. colors.
RETURNS: Rendered HTML markup. RETURNS (unicode): Rendered HTML markup.
""" """
if isinstance(docs, Doc): if isinstance(docs, Doc):
docs = [docs] docs = [docs]

View File

@ -190,6 +190,7 @@ class EntityRenderer(object):
text (unicode): Original text. text (unicode): Original text.
spans (list): Individual entity spans and their start, end and label. spans (list): Individual entity spans and their start, end and label.
title (unicode or None): Document title set in Doc.user_data['title'].
""" """
markup = '' markup = ''
offset = 0 offset = 0