Package opennlp.tools.formats.muc
Class MucNameContentHandler
- java.lang.Object
-
- opennlp.tools.formats.muc.SgmlParser.ContentHandler
-
- opennlp.tools.formats.muc.MucNameContentHandler
-
public class MucNameContentHandler extends SgmlParser.ContentHandler
-
-
Constructor Summary
Constructors Constructor Description MucNameContentHandler(Tokenizer tokenizer, List<NameSample> storedSamples)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(CharSequence chars)
void
endElement(String name)
void
startElement(String name, Map<String,String> attributes)
-
-
-
Constructor Detail
-
MucNameContentHandler
public MucNameContentHandler(Tokenizer tokenizer, List<NameSample> storedSamples)
-
-
Method Detail
-
startElement
public void startElement(String name, Map<String,String> attributes) throws InvalidFormatException
- Overrides:
startElement
in classSgmlParser.ContentHandler
- Throws:
InvalidFormatException
-
characters
public void characters(CharSequence chars)
- Overrides:
characters
in classSgmlParser.ContentHandler
-
endElement
public void endElement(String name)
- Overrides:
endElement
in classSgmlParser.ContentHandler
-
-