Firstly, we divide the entire space into square cells of the same size. Then, following the idea in [1]}, we use the skip-gram technique [2]} to pre-train the cell representations (or token) such that spatially close cells have similar representations. So, each location point of a trajectory can be represented using the token of the corresponding cell the point falls in.
