Package opennlp.tools.formats.masc
Class MascNamedEntityParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
opennlp.tools.formats.masc.MascNamedEntityParser
- All Implemented Interfaces:
- ContentHandler,- DTDHandler,- EntityResolver,- ErrorHandler
A class to process the MASC Named entity stand-off annotation file
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandlercharacters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandlerdeclaration
- 
Constructor Details- 
MascNamedEntityParserpublic MascNamedEntityParser()
 
- 
- 
Method Details- 
getEntityIDtoEntityType
- 
getEntityIDsToTokens
- 
startElementpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
- startElementin interface- ContentHandler
- Overrides:
- startElementin class- DefaultHandler
- Throws:
- SAXException
 
 
-