primeqa.ir.dense.dpr_top.util.line_corpus.write_open#
- primeqa.ir.dense.dpr_top.util.line_corpus.write_open(output_file, *, mkdir=True, binary=False)#
Open text file for writing, assuming compression from extension :param output_file: :param mkdir: :return: