Is there any clustering method that prevents reordering?
<p>For example, I have a text that consists of lines. Each line has own length, indent and other features. My goal is to find poems in this text, but all of clustering methods that I know reorder lines and build clusters independently of the position in text. I've tried to use the position as one of features, but I don't like the result. It will be cool if you hint me something like DBSCAN. Can you help me?</p>