{'fraction_non_alphanumeric': 0.02027972027972028, 'fraction_numerical': 0.006293706293706294, 'mean_word_length': 5.063559322033898, '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}}
Definition text's syntactic feature using stationarity control

Background: The aim of this study is to examine the processed value of a well-formed syntactic text and compare that value with two randomized data sets of values in order to investigate the possible relationship between the syntactic property of a text and the stationary variation of a time series that produces a text. To this end, a 3-gram model with a stationarity controlling method is adopted. The controlling of stationarity is achieved by a suitable transformation of a new algorithm of the calculation of stationary distance. This distance is based on a novel stationary ergodic process, which relies on the fact that the stationary series has reversible symmetric features. The process is calculated using the Dynamic Time warping (DTW) algorithm in a self-correlation procedure. Charles Dickens's A Tale of Two Cities (1859), as well as two randomized data sets that simulate text without syntactic rules, comprise the experimental data sets. As tool in the comparison procedure, the coefficient of variation of the stationarity distance is adapted in a well-fitted 3-gram model. The results showed that the syntactic short texts of 400 words present same (low standard deviation of the Coefficient Variation) in contrast with the randomized data sets. In the future, this work could be extended to investigate syntactic rules using statistic processing.