public class SgmlParser extends Object
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.
Modifier and Type | Class and Description |
---|---|
static class |
SgmlParser.ContentHandler |
Constructor and Description |
---|
SgmlParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(Reader in,
SgmlParser.ContentHandler handler) |
public void parse(Reader in, SgmlParser.ContentHandler handler) throws IOException
IOException
Copyright © 2020 The Apache Software Foundation. All rights reserved.