{'fraction_non_alphanumeric': 0.015904572564612324, 'fraction_numerical': 0.008946322067594433, 'mean_word_length': 5.1030303030303035, '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}}
An Adaptive Scoring Method for Block Importance Learning

The estimation of the block importance could be defined as a learning problem. First, a vision-based page segmentation algorithm is used to partition a Web page into semantic blocks. Then spatial features and content features are used to represent each block. Considering the difference of Web pages, an entropy-based method is adopted to analyze the individual contribution of each feature to the overall effectiveness in the given page. Thus, the entropy value of each feature is used to obtain feature's weight utilized in the further scoring algorithm. Experiments compare the influence both by adaptive weight and by constant weight. The result indicates that the BlockEvaluator algorithm could highly enhance the flexibility in the learning of block importance. The approach is tested with several important Web sites and achieves precise results, correctly extracting 96.2% of news in a set of 2430 pages distributed among 10 different sites