Text this: Flood pattern detection using sliding window technique