Back to Search Start Over

An unsupervised perplexity-based method for boilerplate removal.

Authors :
Fernández-Pichel, Marcos
Prada-Corral, Manuel
Losada, David E.
Pichel, Juan C.
Gamallo, Pablo
Source :
Natural Language Engineering; Jan2024, Vol. 30 Issue 1, p132-149, 18p
Publication Year :
2024

Abstract

The availability of large web-based corpora has led to significant advances in a wide range of technologies, including massive retrieval systems or deep neural networks. However, leveraging this data is challenging, since web content is plagued by the so-called boilerplate: ads, incomplete or noisy text and rests of the navigation structure, such as menus or navigation bars. In this work, we present a novel and efficient approach to extract useful and well-formed content from web-scraped data. Our approach takes advantage of Language Models and their implicit knowledge about correctly formed text, and we demonstrate here that perplexity is a valuable artefact that can contribute in terms of effectiveness and efficiency. As amatter of fact, the removal of noisy parts leads to lighter AI or search solutions that are effective and entail important reductions in resources spent. We exemplify here the usefulness of our method with two downstream tasks, search and classification, and a cleaning task. We also provide a Python package with pre-trained models and a web demo demonstrating the capabilities of our approach. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
13513249
Volume :
30
Issue :
1
Database :
Complementary Index
Journal :
Natural Language Engineering
Publication Type :
Academic Journal
Accession number :
176401423
Full Text :
https://doi.org/10.1017/S1351324923000049