spaCy/spacy/gold/converters/util.py

6 lines
152 B
Python
Raw Normal View History

2020-06-20 04:23:58 +03:00
def merge_sentences(docs, n_sents):
merged = []
for group in minibatch(docs, size=n_sents):
raise NotImplementedError
return merged