{'fraction_non_alphanumeric': 0.0148861646234676, 'fraction_numerical': 0.0, 'mean_word_length': 5.145161290322581, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Thai Related Foreign Language-Specific Website Segment Crawler

National web archive that preserves national knowledge for generations to come has been successfully made available through a domain-specific web crawler for years. However, that kind of crawler still misses many foreign language web pages that are also related to the nation. In this paper, we propose a new crawling approach to collect national related web pages written in a foreign language, especially the English web pages that relate to Thailand. We have proposed a notion of website segment which groups the related web pages from their same longest directory paths. Rather than exploring a target web page as proposed in many traditional focused crawling approaches, we train an ensemble classifier with several features to predict the relevancy of the website segments. The most relevant website segments in the crawling frontier are then enqueued to download. Preliminary experiments on the real web space show that this approach can provide better promising harvest results than the Breadth-First and Best-First baselines for the Thai-tourism and Thai-estate topics.