{'fraction_non_alphanumeric': 0.01631116687578419, 'fraction_numerical': 0.0, 'mean_word_length': 5.435483870967742, '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 tensor-based approach to XML similarity calculation

XML documents have both structural and semantic information, bringing data integration and deep utilization based on XML more precise description and versatile expression. But in the meanwhile traditional NLP and DM methods can't be applied directly. Feature dimension reduction and general similarity of XML based on tensor analysis are discussed. Considering the correlation between XML's structure and content, a tensor based model for describing XML documents and an MMI method to XML's dimension reduction is presented. Since structure and content are not independent with each other, a tensor based algorithm to calculate general similarity from a non-linear angle is designed to show their relationships and effects to its performance.