spaCy/spacy/gold/converters/util.py
2020-06-20 03:23:58 +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