{'fraction_non_alphanumeric': 0.012600229095074456, 'fraction_numerical': 0.004581901489117984, 'mean_word_length': 5.027586206896552, '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}}
Wraplet: Wrapping Your Web Contents with a Lightweight Language

Wrapping of Web sources is known to be one of the key tasks in information integration problems. This paper proposes Wraplet, a wrapping language for extracting structured data from Web contents written in HTML. Unlike existing solutions, Wraplet is designed as a lightweight language in which users can write scripts for wrapping easily with text editors. Its simple syntax and the library of useful patterns help the user write wrapping descriptions by hand. We explain the motivation of its development and the language design and then shows the result of a preliminary experiment about applicability of the language to real Web sources. We conducted a statistical analysis and obtained the result that the applicability of Wraplet is more than 90% at the 95% confidence level in the experimental setting.