Package io.outofprintmagazine.nlp.utils
Class PerfecttenseUtils
- java.lang.Object
-
- io.outofprintmagazine.nlp.utils.PerfecttenseUtils
-
public class PerfecttenseUtils extends Object
You will need to set perfecttense_apikey and perfecttense_appkey in your IParameterStore.
Visit: Perfecttense to sign up.
- Author:
- Ram Sadasiv
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
correctJson(String text, List<String> nnp)
static PerfecttenseUtils
getInstance(IParameterStore parameterStore)
-
-
-
Method Detail
-
getInstance
public static PerfecttenseUtils getInstance(IParameterStore parameterStore) throws IOException
- Throws:
IOException
-
correctJson
public com.fasterxml.jackson.databind.JsonNode correctJson(String text, List<String> nnp) throws UnsupportedCharsetException, IOException
-
-