primeqa.ir.dense.colbert_top.utility.preprocess.docs2passages.process_page#

primeqa.ir.dense.colbert_top.utility.preprocess.docs2passages.process_page(inp)#

Wraps around if we split: make sure last passage isn’t too short. This is meant to be similar to the DPR preprocessing.