12. The system of claim 1 , wherein forming the hierarchical structure further comprises: selecting one or more patterns based on heuristics; and merging similar objects.
1. A system comprising: memory; one or more processors coupled to the memory; one or more computer-readable storage media; computer-readable instructions on the one or more computer-readable storage media which, when executed by the one or more processors, cause the one or more processors to execute a method comprising: analyzing one or more functions associated with a webpage, the analyzing being performed by generating at least a first function-based object model and a second function-based object model that both represent objects comprising the webpage; and forming a hierarchical structure of the webpage based on said analyzing, the hierarchical structure being formed by measuring an approximate similarity and a parallel similarity of the objects and detecting potential similarity patterns among the objects, wherein the objects comprise: one or more basic objects associated with the webpage, the one or more basic objects comprising a smallest functional information body that cannot be further divided and still retain a basic object function, the one or more basic objects being configured to perform one or more of the following functions: (1) providing semantic information, (2) navigating to other objects, (3) providing a visual effect on the webpage, and (4) enabling a user interaction; and one or more composite objects associated with the webpage, the one or more composite objects comprising objects that contain other objects, the one or more composite objects having a clustering function; wherein the first function-based object model describes functional properties of the one or more basic objects and the one or more composite objects; the second function-based object model categorizes the one or more basic objects and the one or more composite objects; and the analyzing comprises combining the first function-based object model and the second function-based object model.