Fix default name

This commit is contained in:
Adriane Boyd 2020-07-30 09:38:58 +02:00
parent 63f5951f8b
commit a6edbcb7d2

View File

@ -32,7 +32,7 @@ class AttributeRuler(Pipe):
DOCS: https://spacy.io/api/attributeruler
"""
def __init__(self, vocab: Vocab, name: str = "attributeruler") -> None:
def __init__(self, vocab: Vocab, name: str = "attribute_ruler") -> None:
"""Initialize the attributeruler.
RETURNS (AttributeRuler): The attributeruler component.