Rename DocBox->DocPallet

This commit is contained in:
Matthew Honnibal 2019-09-18 13:13:51 +02:00
parent c922f8e8b0
commit 1c8de6b2e5
2 changed files with 3 additions and 2 deletions

View File

@ -4,5 +4,6 @@ from __future__ import unicode_literals
from .doc import Doc
from .token import Token
from .span import Span
from ._serialize import DocPallet
__all__ = ["Doc", "Token", "Span"]
__all__ = ["Doc", "Token", "Span", "DocPallet"]

View File

@ -11,7 +11,7 @@ from ..tokens import Doc
from ..attrs import SPACY, ORTH
class DocBox(object):
class DocPallet(object):
"""Serialize analyses from a collection of doc objects."""
def __init__(self, attrs=None, store_user_data=False):