{'fraction_non_alphanumeric': 0.018642803877703208, 'fraction_numerical': 0.0007457121551081282, 'mean_word_length': 5.451923076923077, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A System of Mining Semantic Trajectory Patterns from GPS Data of Real Users

Positioning devices allow users’ movement to be recorded. The GPS (Global Positioning System) trajectory data typically consists of spatiotemporal points, which make up the major part of the big data concerning urban life. Existing knowledge extraction methods about the trajectory share a general limitation—they only investigate data from a spatiotemporal aspect, but fail to take the semantic information of trajectories into consideration. Therefore, extracting the semantic information of trajectories with the context of big data is challenging pattern recognition task that has practical application prospects. In this paper, a system is proposed to extract the semantic trajectory patterns of positioning device users. Firstly, a spatiotemporal threshold and clustering based pre-processing model is proposed to process the raw data. Then, we design a probabilistic generative model to annotate the semantic information of each trajectory after the pre-processing procedure. Finally, we apply the PrefixSpan algorithm to mine the semantic trajectory patterns. We verify our system on a large dataset of users’ real trajectories over a period of 5 years in Beijing, China. The results of the experiment indicate that our system produces meaningful patterns.