XTreePath:处理真实世界结构变化的通用方法
XTreePath: A generalization of XPath to handle real world structural variation
摘要:
我们讨论了信息抽取中的一个关键问题,该问题涉及由于更改内容模板而导致的包装器故障。很大一部分包装器失败是由于HTML模板更改导致包装器在DOM(HTML的树表示)中包含或删除元素后变得不兼容。我们进行了大规模的实证分析的原因转移和数学量化的领域难度水平的基础上熵。我们提出了XTreePath注释方法来捕获训练DOM中的上下文节点信息。然后,我们在测试时使用我们提出的递归树匹配方法,该方法使用树编辑距离递归地定位上下文中最相似的节点,以监督的方式使用此注释。搜索基于启发式函数,该启发式函数考虑了树与训练数据中存在的结构相比的相似性。我们使用来自8个垂直市场的75个不同网站的117,422个页面来评估XTreePath。我们的XTreePath方法在黑盒测试中的成功提取方面始终优于IBM和当前的商业系统。我们在网上公开我们的代码和数据集。
英文摘要:
We discuss a key problem in information extraction which deals with wrapper failures due to changing content templates. A good proportion of wrapper failures are due to HTML templates changing to cause wrappers to become incompatible after element inclusion or removal in a DOM (Tree representation of HTML). We perform a large-scale empirical analyses of the causes of shift and mathematically quantify the levels of domain difficulty based on entropy. We propose the XTreePath annotation method to captures contextual node information from the training DOM. We then utilize this annotation in a supervised manner at test time with our proposed Recursive Tree Matching method which locates nodes most similar in context recursively using the tree edit distance. The search is based on a heuristic function that takes into account the similarity of a tree compared to the structure that was present in the training data. We evaluate XTreePath using 117,422 pages from 75 diverse websites in 8 vertical markets. Our XTreePath method consistently outperforms XPath and a current commercial system in terms of successful extractions in a blackbox test. We make our code and datasets publicly available online.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。