Text this: Trajectory clustering algorithm based on structural similarity