public class JsonLoader extends java.lang.Object implements IndexedCorpusImporter
Constructor and Description |
---|
JsonLoader(JsonOptions options) |
Modifier and Type | Method and Description |
---|---|
IndexedCorpus |
load(java.nio.file.Path path) |
IndexedCorpus |
load(java.io.Reader reader) |
IndexedCorpus |
loadFromString(java.lang.String string) |
public JsonLoader(JsonOptions options)
public IndexedCorpus load(java.io.Reader reader) throws java.io.IOException
load
in interface IndexedCorpusImporter
java.io.IOException
public IndexedCorpus loadFromString(java.lang.String string) throws java.io.IOException
loadFromString
in interface IndexedCorpusImporter
java.io.IOException
public IndexedCorpus load(java.nio.file.Path path) throws java.io.IOException
load
in interface IndexedCorpusImporter
java.io.IOException