Detecting text segments with a convolving hash