mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Add binder class for document serialization
This commit is contained in:
parent
a0b00624bb
commit
62ecdea9f2
21
spacy/tokens/binder.pyx
Normal file
21
spacy/tokens/binder.pyx
Normal file
|
@ -0,0 +1,21 @@
|
|||
cdef class Binder:
|
||||
def __init__(self, *docs):
|
||||
pass
|
||||
|
||||
def __iter__(self):
|
||||
pass
|
||||
|
||||
def __reduce__(self):
|
||||
pass
|
||||
|
||||
def to_bytes(self):
|
||||
pass
|
||||
|
||||
def from_bytes(cls, data):
|
||||
pass
|
||||
|
||||
def to_disk(self):
|
||||
pass
|
||||
|
||||
def from_disk(self, path):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user