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

Converting BeautifulSoup objects to LXML trees in Python

How to convert a document parsed with BeautifulSoup into an LXML tree in Python, for example to pass it on to htmldate or to run XPath queries on it.

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 ...

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 ...

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