* Import classes in spacy.tokens.__init__

This commit is contained in:
Matthew Honnibal 2015-07-13 19:48:55 +02:00
parent aa82caf8f5
commit d27899658e
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,5 @@
from .doc cimport Doc
from .token cimport Token
from .spans cimport Spans
__all__ = [Doc, Token, Spans]

5
spacy/tokens/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from .doc import Doc
from .token import Token
from .spans import Spans
__all__ = [Doc, Token, Spans]