public class JsonTerminologyIO
extends java.lang.Object
Constructor and Description |
---|
JsonTerminologyIO() |
Modifier and Type | Method and Description |
---|---|
static IndexedCorpus |
load(java.io.Reader reader,
JsonOptions options)
Loads the json-serialized term index into the param
Terminology object. |
static void |
save(java.io.Writer writer,
IndexedCorpus indexCorpus,
JsonOptions options) |
public static IndexedCorpus load(java.io.Reader reader, JsonOptions options) throws java.io.IOException
Terminology
object.reader
- options
- The deserialization IOOptions
.com.fasterxml.jackson.core.JsonParseException
java.io.IOException
public static void save(java.io.Writer writer, IndexedCorpus indexCorpus, JsonOptions options) throws java.io.IOException
java.io.IOException