mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	small fixes
This commit is contained in:
		
							parent
							
								
									410b54e10e
								
							
						
					
					
						commit
						cc926267f8
					
				|  | @ -1193,8 +1193,7 @@ cdef class Doc: | |||
|                 retokenizer.merge(span, attributes[i]) | ||||
| 
 | ||||
|     def to_json(self, underscore=None): | ||||
|         """Convert a Doc to JSON. The format it produces will be the new format | ||||
|         for the `spacy train` command (not implemented yet). | ||||
|         """Convert a Doc to JSON. | ||||
| 
 | ||||
|         underscore (list): Optional list of string names of custom doc._. | ||||
|         attributes. Attribute values need to be JSON-serializable. Values will | ||||
|  |  | |||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user