public class DocumentMaker
extends java.lang.Object
Document
s from raw Annotation
s or from CoNLL input data.Constructor and Description |
---|
DocumentMaker(java.util.Properties props,
Dictionaries dictionaries) |
Modifier and Type | Method and Description |
---|---|
Document |
makeDocument(Annotation anno) |
Document |
makeDocument(InputDoc input) |
Document |
nextDoc() |
void |
resetDocs() |
public DocumentMaker(java.util.Properties props, Dictionaries dictionaries) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
public Document makeDocument(Annotation anno) throws java.lang.Exception
java.lang.Exception
public Document makeDocument(InputDoc input) throws java.lang.Exception
java.lang.Exception
public Document nextDoc() throws java.lang.Exception
java.lang.Exception
public void resetDocs()