Minor typo fix in docs

This commit is contained in:
Paul O'Leary McCann 2021-09-11 14:22:05 +09:00
parent 2e2d0e8701
commit 9c4e84d4a1

View File

@ -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):