public class CTAKESContentHandler extends ContentHandlerDecorator
This class relies on Apache cTAKES that is a natural language processing system for extraction of information from electronic medical record clinical free-text.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CTAKES_META_PREFIX |
| Constructor and Description |
|---|
CTAKESContentHandler()
Default constructor.
|
CTAKESContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata)
Creates a new
CTAKESContentHandler for the given ContentHandler and Metadata objects. |
CTAKESContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata,
CTAKESConfig config)
Creates a new
CTAKESContentHandler for the given ContentHandler and Metadata objects. |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
Metadata |
getMetadata()
Returns metadata that includes cTAKES annotations.
|
endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toStringpublic CTAKESContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata,
CTAKESConfig config)
CTAKESContentHandler for the given ContentHandler and Metadata objects.handler - the ContentHandler object to be decorated.metadata - the Metadata object that will be populated using
biomedical information extracted by cTAKES.config - the CTAKESConfig object used to configure the handler.public CTAKESContentHandler(org.xml.sax.ContentHandler handler,
Metadata metadata)
CTAKESContentHandler for the given ContentHandler and Metadata objects.handler - the ContentHandler object to be decorated.metadata - the Metadata object that will be populated using
biomedical information extracted by cTAKES.public CTAKESContentHandler()
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class ContentHandlerDecoratororg.xml.sax.SAXExceptionpublic void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class ContentHandlerDecoratororg.xml.sax.SAXExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved