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.
SgmlParser
public SgmlParser()
parse
public void parse(Reader in,
SgmlParser.ContentHandler handler)
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.