我有一个文本文件。我需要识别特定的段落标题,如果是真的,我需要使用python提取相关的表格和段落。我们可以通过nlp或机器学习来做到这一点吗?如果是这样,请帮助我收集基础知识,因为我是这个领域的新手。我正在考虑使用如下规则: if (大写)和heading_length <50:返回heading_text 如何解析整个文档并仅选择标题名称?
我正在试图写/使用一个现有的减价分析器来查找和替换减价文档中的每一个文本段落,并将所有其他内容保持不变。blockquote.> This is the second paragraph in the blockquote.> ## This is an H2 in a blockquote>
> This is the second paragraph in the b