{'fraction_non_alphanumeric': 0.03197158081705151, 'fraction_numerical': 0.008880994671403197, 'mean_word_length': 4.366666666666666, '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}}
Music identification with KD-tree and melody-line

In this paper, we propose a novel approach for music identification with KD-tree and melody-line. In our method the process has three stages. Firstly, we use the features extracted from training data set to built a KD-tree. Secondly, features extracted from the music in the database, are quantified through the KD-tree into words. Then the words are stored. Meanwhile, the melody-line is also extracted from the music and also stored as a string. Thirdly, when the user gives a fragment song, features are extracted and then quantified the same way in the second stage, so is melody-line. We score the archive according to TF-IDF scheme and get the best matches. String matching of melody line is applied to re-arrange the orders of the best matches. Our contribution also includes a new kind of feature, MFCC Peaks, to acquire an efficient and accurate retrieval. The results of our experiments demonstrate that the accuracy of top1 is 98.54% while the top5 is 99.52%. We also compare our approach with Shazam algorithm and get higher accuracy among all six types of music.