Skip to main content

Module text

Module text 

Source
Expand description

Shared text extraction utilities for memory backends.

Functionsยง

extract_text
Extract all text parts from a Content into a single string.
extract_words
Tokenize text into a set of lowercase words for keyword matching.
extract_words_from_content
Extract and tokenize all text from a Content into word set.