Package opennlp.tools.formats.muc
Class MucNameContentHandler
java.lang.Object
opennlp.tools.formats.muc.SgmlParser.ContentHandler
opennlp.tools.formats.muc.MucNameContentHandler
-
Constructor Summary
ConstructorDescriptionMucNameContentHandler
(Tokenizer tokenizer, List<NameSample> storedSamples) Initializes aMucNameContentHandler
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(CharSequence chars) void
endElement
(String name) void
startElement
(String name, Map<String, String> attributes)
-
Constructor Details
-
MucNameContentHandler
Initializes aMucNameContentHandler
.
-
-
Method Details
-
startElement
- Overrides:
startElement
in classSgmlParser.ContentHandler
- Throws:
InvalidFormatException
-
characters
- Overrides:
characters
in classSgmlParser.ContentHandler
-
endElement
- Overrides:
endElement
in classSgmlParser.ContentHandler
-