Merge segments in paragraph

hello

I want merge all items in some paragraphs in sdlxliff...

So i create xdlxliff parser and try use ProcessParagraphUnit

For example

A paragraph consists of two sentences separated by a dot.
Its 2 ISegment and 1 IText with whitespase.
I can move
second segment to first but how to be with whitespase?
Maybe I have a wrong approach? plz help =(