fix pipeline to generate correct arguments when processing a text block with multiple sentences