mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 01:04:34 +03:00
Fix copy_reg compatibility on _serialize module
This commit is contained in:
parent
f82f8ba5dd
commit
b39810d692
|
@ -3,9 +3,9 @@ from __future__ import unicode_literals
|
||||||
import numpy
|
import numpy
|
||||||
import msgpack
|
import msgpack
|
||||||
import gzip
|
import gzip
|
||||||
import copyreg
|
|
||||||
from thinc.neural.ops import NumpyOps
|
from thinc.neural.ops import NumpyOps
|
||||||
|
|
||||||
|
from ..compat import copy_reg
|
||||||
from ..tokens import Doc
|
from ..tokens import Doc
|
||||||
from ..attrs import SPACY, ORTH
|
from ..attrs import SPACY, ORTH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user