From web pages to generated text with Trafilatura and Markovify
A few commands to gather texts from a website with Trafilatura, count frequent word sequences and generate new sentences with a Markov chain.
more ...A few commands to gather texts from a website with Trafilatura, count frequent word sequences and generate new sentences with a Markov chain.
more ...Trafilatura’s HTML to text extraction got faster on its benchmark, thanks to changes in two dependencies, charset_normalizer and jusText.
more ...Tokenization divides text into meaningful units. Two rule-based methods to tokenize German, English and other languages, explained with code.
more ...Simplemma is a simple multilingual lemmatizer for Python: it groups the inflected forms of a word under their dictionary form.
more ...