{'fraction_non_alphanumeric': 0.028368794326241134, 'fraction_numerical': 0.005673758865248227, 'mean_word_length': 5.36036036036036, '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}}
Algorithm for generalized harmonic analysis (GHA)

Generalized harmonic analysis (GHA) proposed by Wiener (1958) is a fine tool in time-frequency resolution because it expresses signal using almost-periodic function. However, the method is rarely utilized because it involves a large amount of calculation. High efficiency algorithm for GHA was developed first by Hirata, and was further improved recently in a reduction of calculation amount. However, they were not enough in accuracy. Starting from the Hirata's algorithm, the authors have achieved a high-speed, highly accurate GHA algorithm by improvement in the calculation method of sine and cosine coefficients and subdivision of a frequency scale.