public class WikiSectionReader extends Object implements DatasetReader
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
WikiSectionReader() |
| Modifier and Type | Method and Description |
|---|---|
Dataset |
read(Resource path) |
static Dataset |
readDatasetFromJSON(Resource path) |
static List<WikiDocument> |
readWikiDocumentsFromJSON(Resource path) |
public Dataset read(Resource path) throws IOException
read in interface DatasetReaderIOExceptionpublic static Dataset readDatasetFromJSON(Resource path) throws IOException
IOExceptionpublic static List<WikiDocument> readWikiDocumentsFromJSON(Resource path) throws IOException
IOExceptionCopyright © 2019. All rights reserved.