Regular Table Language for Data Extraction from Document Tables Accessible in Machine-Readable Formats
This paper introduces ‘‘Regular Table Language’’ (RTL), a novel domain-specific language designed for extracting recordsets from arbitrary tables presented in machine-readable documents, such as spreadsheets, rich text, web pages (HTML), etc. The foundation of RTL rests on the hypothesis that any table can be aligned with a pattern that defines its structure. Furthermore, a whole class of tables designed by one template can be specified by one pattern. RTL offers a formalized way to express such patterns in a clear and concise manner. It is also proposed the ‘‘Interpretable Table Model’’ (ITM) as an intermediary between source tables and target recordsets. This model extends the conventional table structures found in widely used formats by adding semantics that provide the automatic inference of recordsets from tables. This semantics is recovered through matching appropriate RTL-patterns with ITM-instances generated from source tables. Both RTL and ITM have been implemented as core components of RegTab, an open-source software library designed to streamline the development of custom applications where data sources are various tables presented in electronic documents.
Authors
- Alexey Shigarov (ORCID: https://orcid.org/0000-0001-5572-5349)
Institutions
- Institute for System Dynamics and Control Theory (RU)
Publication Details
- Journal
- Lobachevskii Journal of Mathematics
- Published
- 2025-04-01
- DOI
- https://doi.org/10.1134/s1995080225606150
- Citations
- 1
- Primary Topic
- Data Quality and Management
- Type
- article
- Field-Weighted Citation Impact
- 2.11