spaCy/spacy/gold/converters/util.py
Matthew Honnibal a5ebfb20f5 Serialize all attrs by default
Move converters under spacy.gold

Move things around

Fix naming

Fix name

Update converter to produce DocBin

Update converters

Make spacy convert output docbin

Fix import

Fix docbin

Fix import

Update converter

Remove jsonl converter

Add json2docs converter
2020-06-22 00:46:08 +02:00

6 lines
152 B
Python

def merge_sentences(docs, n_sents):
merged = []
for group in minibatch(docs, size=n_sents):
raise NotImplementedError
return merged