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 ...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 ...Using py3langid, a modernized fork of the popular langid.py, as an example of how to maintain and speed up a Python package for language detection.
more ...Trafilatura’s HTML to text extraction got faster on its benchmark, thanks to changes in two dependencies, charset_normalizer and jusText.
more ...Simplemma is a simple multilingual lemmatizer for Python: it groups the inflected forms of a word under their dictionary form.
more ...Python date extraction tools compared: htmldate performs best, runs faster and covers more small sites, blogs and non-English pages.
more ...Python packages for web scraping and text extraction compared on robustness and speed, to find which tool best separates main text from boilerplate.
more ...Practical tips for indexing text with Elasticsearch: mappings, language analyzers and options for linguistic analysis of corpora such as tweets.
more ...How to parse HTML documents and convert them to XML TEI with Python’s lxml module, with code examples.
more ...A one-pass finite-state chunker for German, presented at LTC‘13, matches POS-tag patterns with regular expressions to find phrases and estimate verb valency.
more ...How to tell quickly whether URLs point to WordPress blogs, combining a filter on common permalink patterns with HTTP HEAD requests.
more ...