Bits of Language: corpus linguistics, NLP and text analytics
  • Corpus Linguistics
  • Tutorials
  • Text Complexity

Filtering links to gather texts on the web

Courlan cleans, filters, normalizes and samples URLs on the command line or in Python, to focus web crawls on spam-free text in a target language.

more ...

Evaluation of date extraction tools for Python

Python date extraction tools compared: htmldate performs best, runs faster and covers more small sites, blogs and non-English pages.

more ...

Evaluating scraping and text extraction tools for Python

Python packages for web scraping and text extraction compared on robustness and speed, to find which tool best separates main text from boilerplate.

more ...

Validating TEI-XML documents with Python

Two ways to validate XML documents against the Text Encoding Initiative guidelines in Python: a quick shortcut or each step in detail.

more ...

Extracting the main text content from web pages using Python

Trafilatura downloads web pages and extracts their main text in Python. It also helps navigate websites and find links in sitemaps and feeds.

more ...

A module to extract date information from web pages

The Python library htmldate extracts the creation or modification date of web pages, metadata that matters for web archives and philologists alike.

more ...

Ad hoc and general-purpose corpus construction from web sources

PhD thesis on web corpus construction: assessing the diversity of web texts and improving construction processes for better corpus design.

more ...

  • «
  • 1
  • 2
  • »

About Adrien Barbaresi
Research Scientist and Data Engineer specializing in Natural Language Processing and Artificial Intelligence

  • Social

    • LinkedIn
    • GitHub
  • Tags

    • code snippet
    • corpus linguistics
    • data mining
    • python
    • readability assessment
    • research
    • text cleaning
    • trafilatura
    • web corpus construction
    • web crawling
  • Links

    • Homepage
    • Scientific Publications

© 2026 Adrien Barbaresi · Powered by pelican-bootstrap3, Pelican, Bootstrap

Creative Commons License Content licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where indicated otherwise.

Back to top