A Survey of Sequential Pattern Mining