mirror of https://github.com/explosion/spaCy.git
Rename DocBox->DocPallet
This commit is contained in:
parent
c922f8e8b0
commit
1c8de6b2e5
|
@ -4,5 +4,6 @@ from __future__ import unicode_literals
|
||||||
from .doc import Doc
|
from .doc import Doc
|
||||||
from .token import Token
|
from .token import Token
|
||||||
from .span import Span
|
from .span import Span
|
||||||
|
from ._serialize import DocPallet
|
||||||
|
|
||||||
__all__ = ["Doc", "Token", "Span"]
|
__all__ = ["Doc", "Token", "Span", "DocPallet"]
|
||||||
|
|
|
@ -11,7 +11,7 @@ from ..tokens import Doc
|
||||||
from ..attrs import SPACY, ORTH
|
from ..attrs import SPACY, ORTH
|
||||||
|
|
||||||
|
|
||||||
class DocBox(object):
|
class DocPallet(object):
|
||||||
"""Serialize analyses from a collection of doc objects."""
|
"""Serialize analyses from a collection of doc objects."""
|
||||||
|
|
||||||
def __init__(self, attrs=None, store_user_data=False):
|
def __init__(self, attrs=None, store_user_data=False):
|
||||||
|
|
Loading…
Reference in New Issue