public class CTAKESParser extends ParserDecorator
AutoDetectParser
and leverages on CTAKESContentHandler
to extract biomedical information from clinical text using Apache cTAKES.Constructor and Description |
---|
CTAKESParser()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
parse(InputStream stream,
ContentHandler handler,
Metadata metadata,
ParseContext context)
Delegates the method call to the decorated parser.
|
getSupportedTypes, getWrappedParser, withFallbacks, withoutTypes, withTypes
parse
public void parse(InputStream stream, ContentHandler handler, Metadata metadata, ParseContext context) throws IOException, SAXException, TikaException
ParserDecorator
super.parse()
to invoke
the decorated parser) to implement extra decoration.parse
in interface Parser
parse
in class ParserDecorator
stream
- the document stream (input)handler
- handler for the XHTML SAX events (output)metadata
- document metadata (input and output)context
- parse contextIOException
- if the document stream could not be readSAXException
- if the SAX events could not be processedTikaException
- if the document could not be parsedCopyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.