mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Minor typo fix in docs
This commit is contained in:
		
							parent
							
								
									2e2d0e8701
								
							
						
					
					
						commit
						9c4e84d4a1
					
				| 
						 | 
					@ -795,7 +795,7 @@ if there's no state to be passed through – spaCy can just take care of this fo
 | 
				
			||||||
you. The following two code examples are equivalent:
 | 
					you. The following two code examples are equivalent:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```python
 | 
					```python
 | 
				
			||||||
# Statless component with @Language.factory
 | 
					# Stateless component with @Language.factory
 | 
				
			||||||
@Language.factory("my_component")
 | 
					@Language.factory("my_component")
 | 
				
			||||||
def create_my_component():
 | 
					def create_my_component():
 | 
				
			||||||
    def my_component(doc):
 | 
					    def my_component(doc):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user