Package opennlp.tools.formats.muc

# Class SgmlParser

java.lang.Object
opennlp.tools.formats.muc.SgmlParser

public class SgmlParser extends Object
SAX style SGML parser.

Note:
The implementation is very limited, but good enough to parse the MUC corpora. Its must very likely be extended/improved/fixed to parse a different SGML corpora.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `SgmlParser.ContentHandler`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SgmlParser()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `parse(Reader in, SgmlParser.ContentHandler handler)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SgmlParser

    public SgmlParser()

- ## Method Details

  - ### parse

    public void parse(Reader in, SgmlParser.ContentHandler handler) throws IOException
    Throws:
      `IOException`