Package org.apache.tika.parser.journal
Class GrobidRESTParser
java.lang.Object
org.apache.tika.parser.journal.GrobidRESTParser
GROBID header fields are namespaced under
grobid:tei:* (curated on TEIDOMParser)
rather than mapped to standard properties (e.g. dc:title): they are model inferences, not
what the file asserts about itself.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleancanRun()voidparse(String filePath, ContentHandler handler, Metadata metadata, ParseContext context)
-
Constructor Details
-
GrobidRESTParser
public GrobidRESTParser()
-
-
Method Details
-
canRun
protected static boolean canRun() -
parse
public void parse(String filePath, ContentHandler handler, Metadata metadata, ParseContext context) throws FileNotFoundException - Throws:
FileNotFoundException
-