Default parser
labridge.func_modules.paper.parse.parsers.default_parser
¶
labridge.func_modules.paper.parse.parsers.default_parser.DefaultPaperParser
¶
The default paper parser will mark the whole paper content as 'MAINTEXT'
Source code in labridge\func_modules\paper\parse\parsers\default_parser.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
labridge.func_modules.paper.parse.parsers.default_parser.DefaultPaperParser.parse_paper(file_path)
¶
Parse the paper.
PARAMETER | DESCRIPTION |
---|---|
file_path |
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
List[Document]
|
List[Document]: The parsed documents. |
Source code in labridge\func_modules\paper\parse\parsers\default_parser.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
|