mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Update docstrings
This commit is contained in:
		
							parent
							
								
									a04550605a
								
							
						
					
					
						commit
						9dd13cd76a
					
				| 
						 | 
				
			
			@ -18,7 +18,7 @@ def render(docs, style='dep', page=False, minify=False, jupyter=False, options={
 | 
			
		|||
    minify (bool): Minify HTML markup.
 | 
			
		||||
    jupyter (bool): Experimental, use Jupyter's display() to output markup.
 | 
			
		||||
    options (dict): Visualiser-specific options, e.g. colors.
 | 
			
		||||
    RETURNS: Rendered HTML markup.
 | 
			
		||||
    RETURNS (unicode): Rendered HTML markup.
 | 
			
		||||
    """
 | 
			
		||||
    if isinstance(docs, Doc):
 | 
			
		||||
        docs = [docs]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -190,6 +190,7 @@ class EntityRenderer(object):
 | 
			
		|||
 | 
			
		||||
        text (unicode): Original text.
 | 
			
		||||
        spans (list): Individual entity spans and their start, end and label.
 | 
			
		||||
        title (unicode or None): Document title set in Doc.user_data['title'].
 | 
			
		||||
        """
 | 
			
		||||
        markup = ''
 | 
			
		||||
        offset = 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user