Sentence spotting using continuous structuring method