Text this: Algorithms for crime prediction in smart cities through data mining