Move things around

This commit is contained in:
Matthew Honnibal 2020-06-20 03:23:58 +02:00
parent c630cfdb5e
commit f61d5e3ac3
5 changed files with 9 additions and 4 deletions

View File

@ -1,4 +1,4 @@
from .conllu2json import conllu2json # noqa: F401
from .iob2json import iob2docs # noqa: F401
from .conll_ner2json import conll_ner2json # noqa: F401
from .jsonl2docs import ner_jsonl2json # noqa: F401
from .conllu2docs import conllu2docs # noqa: F401
from .iob2docs import iob2docs # noqa: F401
from .conll_ner2docs import conll_ner2docs # noqa: F401
from .jsonl2docs import ner_jsonl2docs # noqa: F401

View File

@ -0,0 +1,5 @@
def merge_sentences(docs, n_sents):
merged = []
for group in minibatch(docs, size=n_sents):
raise NotImplementedError
return merged