Text this: A method for detection of repetitive local effects (RLEs) in discrete recursive processes