public class SpacyTrainingJsonWriter extends Object
Constructor and Description |
---|
SpacyTrainingJsonWriter()
Constructs a SpacyTrainingJsonWriter.
|
Modifier and Type | Method and Description |
---|---|
String |
createJsonString(List<InformationExtractionTrainingSet.SentenceTuple> sentTuples)
Generates the JSON string for the objects.
|
public SpacyTrainingJsonWriter()
public String createJsonString(List<InformationExtractionTrainingSet.SentenceTuple> sentTuples) throws IfsException
sentTuples
- the list of sentence tuplesIfsException
- if the operation failsCopyright © 2023. All rights reserved.