Published October 16, 2021 | Journal article | Version v1 | https://doi.org/10.21105/joss.03557

Inscriptis - A Python-based HTML to text conversion library optimized for knowledge extraction from the Web

Authors/Creators

Files

joss.03557.pdf

Files (1.3 MB)

Name Size Download all
md5:c9c05b21b1227f41892e251042f61a52
1.0 MB Preview Download
md5:45d78504009601a2a0804e86e6d6698c
311.0 kB Preview Download

Additional details

Dates

Issued
October 16, 2021

References

  1. Weichselbraun, A. (2021). Inscriptis - A Python-based HTML to text conversion library optimized for knowledge extraction from the Web (Version 2.1.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.5562417
  2. Wang, Z., Ho, S.-B., & Cambria, E. (2020). A review of emotion sensing: categorization models and algorithms. Multimedia Tools and Applications, 79(47-48), 35553–35582. https://doi.org/10.1007/s11042-019-08328-z
  3. Distributed Representations of Words and Phrases and their Compositionality, http://papers.nips.cc/paper/5021-distributed-representations-of-words-and-phrases-and-their-compositionality, Advances in Neural Information Processing Systems 26: 27th Annual Conference on Neural Information Processing Systems 2013. Proceedings of a meeting held December 5-8, 2013, Lake Tahoe, Nevada, United States, Mikolov, Tomas and Sutskever, Ilya and Chen, Kai and Corrado, Gregory S. and Dean, Jeffrey, 2013, word2vec, 3111–3119, arXiv:1310.4546 PDF:/home/albert/Zotero/storage/695ESUSG/Mikolov et al. - 2013 - Distributed Representations of Words and Phrases a.pdf:application/pdf
  4. Pennington, J., Socher, R., & Manning, C. (2014). Glove: Global Vectors for Word Representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), 1532–1543. https://doi.org/10.3115/v1/d14-1162
  5. Scharl, A., Herring, D., Rafelsberger, W., Hubmann-Haidvogel, A., Kamolov, R., Fischl, D., Fols, M., & Weichselbraun, A. (2017). Semantic Systems and Visual Tools to Support Environmental Communication. IEEE Systems Journal, 11(2), 762–771. https://doi.org/10.1109/jsyst.2015.2466439
  6. Li, Q., Wang, T., Li, P., Liu, L., Gong, Q., & Chen, Y. (2014). The effect of news and public mood on stock movements. Information Sciences, 278, 826–840. https://doi.org/10.1016/j.ins.2014.03.096
  7. Weichselbraun, A., Kuntschik, P., Francolino, V., Saner, M., Dahinden, U., & Wyss, V. (2021). Adapting Data-Driven Research to the Fields of Social Sciences and the Humanities. Future Internet, 13(3), 59. https://doi.org/10.3390/fi13030059
  8. Reis, E. S. D., Costa, C. A. D., Silveira, D. E. D., Bavaresco, R. S., Righi, R. D. R., Barbosa, J. L. V., Antunes, R. S., Gomes, M. M., & Federizzi, G. (2021). Transformers aftermath: current research and rising trends. Communications of the ACM, 64(4), 154–163. https://doi.org/10.1145/3430937
  9. Ding, W., Chaudhri, V. K., Chittar, N., & Konakanchi, K. (2021). JEL: Applying End-to-End Neural Entity Linking in JPMorgan Chase. Proceedings of the AAAI Conference on Artificial Intelligence, 35(17), 15301–15308. https://doi.org/10.1609/aaai.v35i17.17796
  10. effectiveness?) to compute contextualized entity embeddings Enitity Linking Character matching: Wide Character Learning with subword information for matching entities (more effective than verbatim matching since it also considers typos) Semantic matching: Use deep semantic embeddings to embed mentions based on the context into a vector. Compute the similarity between mention-vectors and entity-vectors based on Euclidean distance. Application similar to WISDOM - identify businesses in financial news and propagate the impact of the coverage (e.g., financial difficulties) along the supply chain., Snapshot:/home/albert/Zotero/storage/53XPV5G9/17796.html:text/html;Ding et al. - 2021 - JEL Applying End-to-End Neural Entity Linking in .pdf:/home/albert/Zotero/storage/4KWA6M6F/Ding et al. - 2021 - JEL Applying End-to-End Neural Entity Linking in .pdf:application/pdf, 5
  11. Fu, J., Huang, X., & Liu, P. (2021). SpanNER: Named Entity Re-/Recognition as Span Prediction. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), 7183–7195. https://doi.org/10.18653/v1/2021.acl-long.558
  12. Convertino, I., Ferraro, S., Blandizzi, C., & Tuccori, M. (2018). The usefulness of listening social media for pharmacovigilance purposes: a systematic review. Expert Opinion on Drug Safety, 17(11), 1081–1093. https://doi.org/10.1080/14740338.2018.1531847
  13. Kreymer, Ilya and Nagel, Sebastian and Jackson, Andy and Levitt, Noah, IIPC Web Archive Commons - Utility code for OpenWayBack and other projects., 2021, GitHub, GitHub repository, https://github.com/commoncrawl/ia-web-commons, Accessed: 2021-09-02
  14. Swartz, Aaron, html2text - a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text, 2021, GitHub, GitHub repository, https://github.com/Alir3z4/html2text, Accessed: 2021-09-02
  15. Belica, Michal, jusText - Heuristic based boilerplate removal tool, 2021, GitHub, GitHub repository, https://github.com/miso-belica/jusText, Accessed: 2021-09-02
  16. Huggins, Jason and Gross, Paul and Wang, Jie Tina, jusText - Heuristic based boilerplate removal tool, 2021, The Selenium Project, https://www.selenium.dev, Accessed: 2021-09-02
  17. Dickey, Thomas E., Lynx - The Text Web-Browser, 2021, Lynx Home Page, https://lynx.invisible-island.net, Accessed: 2021-09-02
  18. Nakayama, Hiroki and Kubo, Takahiro and Kamura, Junya and Taniguchi, Yasufumi and Liang, Xu, doccano: Text Annotation Tool for Human, 2018, GitHub, GitHub repository, https://github.com/doccano/doccano, Accessed: 2021-09-02
  19. Richardson, Leonard, Beautiful Soup - a library that makes it easy to scrape information from web pages, 2021, Python Package Index, PyPI repository, https://pypi.org/project/beautifulsoup4/, Accessed: 2021-09-02
  20. Behnel, Stefan and Faassen, Martijn and Bicking, Ian and Joukl, Holger and Sapin, Simon and Parent, Marc-Antoine and Grisel, Olivier and Buchcik, Kasimier and Wagner, Florian and Kroymann, Emil and Everitt, Paul and Ng, Victor and Kern, Robert and Pakulat, Andreas and Sankel, David and Kasperski, Marcin and da Silva, Sidnei and Oberndörfer, Pascal, lxml - Processing XML and HTML with Python, 2021, lxml Project, https://lxml.de/, Accessed: 2021-09-02
  21. Mueller, Matthew and Böhm, Felix and Mike, Jugglin and Chambers, David, Cheerio - Fast, flexible, and lean implementation of core jQuery designed specifically for the server., 2021, GitHub, GitHub repository, https://github.com/cheeriojs/cheerio, Accessed: 2021-09-02
  22. Riebold, John, BoilerPy3 - Python port of Boilerpipe library, 2021, GitHub, GitHub repository, https://github.com/jmriebold/BoilerPy3, Accessed: 2021-09-02
  23. Weichselbraun, A., Brasoveanu, A. M. P., Waldvogel, R., & Odoni, F. (2020). Harvest - An Open Source Toolkit for Extracting Posts and Post Metadata from Web Forums. 2020 IEEE/WIC/ACM International Joint Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT), 438–444. https://doi.org/10.1109/wiiat50758.2020.00065
  24. Peters, M. E., & Lecocq, D. (2013). Content extraction using diverse feature sets. Proceedings of the 22nd International Conference on World Wide Web, 89–90. https://doi.org/10.1145/2487788.2487828
  25. Vienna, Austria, TextSweeper - A System for Content Extraction and Overview Page Detection, All rights reserved, Web pages not only contain main content, but also other elements such as navigation panels, advertisements and links to related documents. Furthermore, overview pages (summarization pages and entry points) duplicate and aggregate parts of articles and thereby create redundancies. The noise elements in Web pages as well as overview pages affect the performance of downstream processes such as Web-based Information Retrieval. Context Extraction's task is identifying and extracting the main content from a Web page. In this research-in-progress paper we present an approach which not only identifies and extracts the main content, but also detects overview pages and thereby allows skipping them. The content extraction part of the system is an extension of existing Text-to-Tag ratio methods, overview page detection is accomplished with the net text length heuristic. Preliminary results and ad-hoc evaluation indicate a promising system performance. A formal evaluation and comparison to other state-of-the-art approaches is part of future work., International Conference on Information Resources Management (Conf-IRM), AIS, Lang, Heinz-Peter and Wohlgenannt, Gerhard and Weichselbraun, Albert, 2012, natural language processing, content extraction, contextualized information spaces, overview pages, text filtering, Web-based information retrieval, lang2012-textSweeper.pdf:/home/albert/Zotero/storage/BKDTK3SJ/lang2012-textSweeper.pdf:application/pdf, https://aisel.aisnet.org/confirm2012/17

1–25 of 29

Citations

  1. Farag, M., Halina, P., Zaytsev, A., Munagala, A., Ahmed, I., & Wang, J. (2025). Cross-Domain Web Information Extraction at Pinterest. Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, 4406–4413. https://doi.org/10.1145/3711896.3737207
  2. Huang, Z., Tang, J., Karir, M., Liu, M., & Sarabi, A. (2024). Analyzing Corporate Privacy Policies using AI Chatbots. Proceedings of the 2024 ACM on Internet Measurement Conference, 505–515. https://doi.org/10.1145/3646547.3689015
  3. Weichselbraun, A., Süsstrunk, N., Waldvogel, R., Glatzl, A., Braşoveanu, A. M. P., & Scharl, A. (2024). Anticipating Job Market Demands—A Deep Learning Approach to Determining the Future Readiness of Professional Skills. Future Internet, 16(5), 144. https://doi.org/10.3390/fi16050144
  4. Bevendorff, J., Gupta, S., Kiesel, J., & Stein, B. (2023). An Empirical Comparison of Web Content Extraction Algorithms. Proceedings of the 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, 2594–2603. https://doi.org/10.1145/3539618.3591920
  5. Weichselbraun, A., Waldvogel, R., Fraefel, A., van Schie, A., & Kuntschik, P. (2022). Slot Filling for Extracting Reskilling and Upskilling Options from the Web. In Lecture Notes in Computer Science (pp. 279–290). Springer International Publishing. https://doi.org/10.1007/978-3-031-08473-7_25
  6. Reiss, M. V. (2022). Dissecting Non-Use of Online News – Systematic Evidence from Combining Tracking and Automated Text Classification. Digital Journalism, 11(2), 363–383. https://doi.org/10.1080/21670811.2022.2105243
  7. Sun, X., Hao, T., & Li, X. (2022). Knowledge graph construction and Internet of Things optimisation for power grid data knowledge extraction. Applied Mathematics and Nonlinear Sciences, 8(1), 2729–2738. https://doi.org/10.2478/amns.2021.2.00283