Class MucNameContentHandler

Namespace
NOpenNLP.Tools.Formats.Muc
Assembly
NOpenNLP.Tools.dll
public class MucNameContentHandler : SgmlParser.ContentHandler
Inheritance
MucNameContentHandler
Inherited Members

Constructors

MucNameContentHandler(ITokenizer, IList<NameSample>)

public MucNameContentHandler(ITokenizer tokenizer, IList<NameSample> storedSamples)

Parameters

tokenizer ITokenizer
storedSamples IList<NameSample>

Methods

Characters(string)

public override void Characters(string chars)

Parameters

chars string

Exceptions

InvalidFormatException

if the characters cannot be handled

EndElement(string)

public override void EndElement(string name)

Parameters

name string

Exceptions

InvalidFormatException

if the element cannot be handled

StartElement(string, IDictionary<string, string>)

public override void StartElement(string name, IDictionary<string, string> attributes)

Parameters

name string
attributes IDictionary<string, string>

Exceptions

InvalidFormatException

if the element cannot be handled

InvalidFormatException

if an unknown name type is encountered