testcases/test_doc_processor.py
@@ -22,7 +22,7 @@ doc_processor = DocProcessor(file) doc_processor.process() def test_get_text_by_entity(): text = doc_dbh.get_text_with_entities(['分系统源包']) text = doc_dbh.get_text_with_entities(['指令组内容下传']) print(text) if __name__ == '__main__': # test_process()