Auto
labridge.func_modules.paper.parse.parsers.auto
¶
labridge.func_modules.paper.parse.parsers.auto.auto_parse_paper(file_path, source_analyzer, use_llm_for_source)
¶
Automatically parse a paper according to the analyzed paper source.
PARAMETER | DESCRIPTION |
---|---|
file_path |
The paper path.
TYPE:
|
source_analyzer |
The analyzer that analyze the paper source.
TYPE:
|
use_llm_for_source |
Whether to use LLM in the source_analyzer.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
List[Document]
|
List[Document]: The parsed paper documents.
For example: A paper from Nature will be seperated into these components:
|
Source code in labridge\func_modules\paper\parse\parsers\auto.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
|