Text this: Trajectory Similarity Analysis with the Weight of Direction and <i>k</i>-Neighborhood for AIS Data