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

  • Weichselbraun A
N/ACitations
Citations of this article
11Readers
Mendeley users who have this article in their library.

Abstract

Inscriptis provides a library, command line client and Web service for converting HTML to plain text. Its development has been triggered by the need to obtain accurate text representations for knowledge extraction tasks that preserve the spatial alignment of text without drawing upon heavyweight, browser-based solutions such as Selenium. In contrast to related software packages, Inscriptis (i) provides a layout-aware conversion of HTML that more closely resembles the rendering obtained from standard Web browsers; and (ii) supports annotation rules, i.e., user-provided mappings that allow for annotating the extracted text based on structural and semantic information encoded in HTML tags and attributes. These unique features ensure that downstream knowledge extraction components can operate on accurate text representations, and may even use information on the semantics and structure of the original HTML document.

Cite

CITATION STYLE

APA

Weichselbraun, A. (2021). Inscriptis - A Python-based HTML to text conversion library optimized for knowledge extraction from the Web. Journal of Open Source Software, 6(66), 3557. https://doi.org/10.21105/joss.03557

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free