Update 0.4.24 walkthrough

This commit is contained in:
UncleCode
2024-12-31 21:01:46 +08:00
parent bd71f7f4ea
commit 19b0a5ae82
3 changed files with 152 additions and 36 deletions

View File

@@ -83,7 +83,6 @@ class RelevantContentFilter(ABC):
return ' '.join(filter(None, query_parts))
def extract_text_chunks(self, body: Tag, min_word_threshold: int = None) -> List[Tuple[str, str]]:
"""
Extracts text chunks from a BeautifulSoup body element while preserving order.