A flexible and efficient sequential pattern mining algorithm. (13th August 2009)