public class DocumentMaker
extends java.lang.Object
Documents from raw Annotations 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.ClassNotFoundExceptionjava.io.IOExceptionpublic Document makeDocument(Annotation anno) throws java.lang.Exception
java.lang.Exceptionpublic Document makeDocument(InputDoc input) throws java.lang.Exception
java.lang.Exceptionpublic Document nextDoc() throws java.lang.Exception
java.lang.Exceptionpublic void resetDocs()