AutoTR: Efficient Reformatting Text Spread out in a DOM Tree for Text-Analytic Applications

Changfeng Yu, Cheng Zhang, Hao Zhang, Jie Wang
{"title":"AutoTR: Efficient Reformatting Text Spread out in a DOM Tree for Text-Analytic Applications","authors":"Changfeng Yu, Cheng Zhang, Hao Zhang, Jie Wang","doi":"10.1109/CSCI54926.2021.00176","DOIUrl":null,"url":null,"abstract":"We present an efficient algorithm to automatically reformat text contained in multiple nodes that are spread out in a DOM tree of an HTML file converted from a PDF document. Reformatting text on the fly is needed for hierarchical reading and other text-analytic applications. A naive approach would traverse the DOM tree multiple times, failing to meet the requirement of real-time reformatting. Our algorithm meets the real-time requirement by indexing text nodes and sentences with a pair of tag holders inserted into each text node to allow fast reformatting.","PeriodicalId":206881,"journal":{"name":"2021 International Conference on Computational Science and Computational Intelligence (CSCI)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Computational Science and Computational Intelligence (CSCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSCI54926.2021.00176","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We present an efficient algorithm to automatically reformat text contained in multiple nodes that are spread out in a DOM tree of an HTML file converted from a PDF document. Reformatting text on the fly is needed for hierarchical reading and other text-analytic applications. A naive approach would traverse the DOM tree multiple times, failing to meet the requirement of real-time reformatting. Our algorithm meets the real-time requirement by indexing text nodes and sentences with a pair of tag holders inserted into each text node to allow fast reformatting.
AutoTR:在文本分析应用程序的DOM树中有效地重新格式化文本
我们提出了一种有效的算法来自动重新格式化包含在多个节点中的文本,这些节点分布在从PDF文档转换而来的HTML文件的DOM树中。动态地重新格式化文本是分层阅读和其他文本分析应用程序所需要的。幼稚的方法会多次遍历DOM树,无法满足实时重新格式化的要求。我们的算法通过在每个文本节点中插入一对标签持有人来索引文本节点和句子,从而实现快速重新格式化,从而满足实时性要求。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信