{'fraction_non_alphanumeric': 0.018935978358881875, 'fraction_numerical': 0.0018034265103697023, 'mean_word_length': 5.379310344827586, '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 Novel Method for Scanpath Comparison Based on Levenshtein Distance

Modeling the scanpath of human saccade on presentation pictures is a challenging task. To evaluate the consistence of saccadic eye movement sequences, traditional methods, such as scanMatch, transform scanpath data to string sequence with grid-based method and computer the similarity of string sequences using Needleman-Wunsch algorithm. However, scanpath data are different from string data in some aspects, and grid-based method would cause errors in measurement. In the present work, the difference between two symbol sequences was measure by a modified Levenshtein Distance (LD) method. Here, the pair-point distance was computed from position of different fixation points directly, and the distance was further converted to 0 or 1 by a thresholding method. In this way we can adjust the matching threshold value between points and improved the accuracy of LD method by overcoming measurement error of point around grid boundary. Our experimental results demonstrated that our method had better performance than traditional scanMatch.