Content Extraction based on Hierarchical Relations in DOM Structures

Authors: Sergio López, Josep Silva, David Insa

Polibits, Vol. 45, pp. 5-12, 2012.

Abstract: This article introduces a new approach for content extraction that exploits the hierarchical inter-relations of the elements in a webpage. Content extraction is a technique used to extract from a webpage the main textual content. This is useful in order to filter out the advertisements and all the additional information that is not part of the main content. The main idea behind our approach is to use the DOM tree as an explicit representation of the inter-relations of the elements in a webpage. Using the information contained in the DOM tree we can identify blocks of content and we can easily determine what of the blocks contains more text. Thanks to this information, the technique achieves a considerable recall and precision. Using the DOM structure for content extraction gives us the benefits of other approaches based on the syntax of the webpage (such as characters, words and tags), but it also gives us a very precise information regarding the related components in a block, thus, producing very cohesive blocks.

Keywords: Content Extraction, Block Detection, DOM

PDF: Content Extraction based on Hierarchical Relations in DOM Structures
PDF: Content Extraction based on Hierarchical Relations in DOM Structures