
104
Chapter Five
Trainable Information Agents for the Web
FIGURE
5.5
{ let info X1 -= root, descendant(1,font,{color="red ''
si ze="18" } )
from document d in ...
where text root,ancestor(1,1i)
chi I d( - 1,br)next(al I ,span
applies to X1 matches "TWIN EXECUTIVE ROOM*" }
{ select info X2 .= root,descendant(1,span)
from X1
where X2 recognized as 'decimal_number' }
The final version of the wrapper.
She decides not to accept this wrapper and adds a landmark to it to con-
nect more strongly the wrapper's functionality to the
semantics
of the docu-
ment. Using his purely syntax-based heuristics, the agent suggests ...