public class Spotlight extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
confidence |
private static org.slf4j.Logger |
log |
private String |
requestURL |
private String |
support |
| Constructor and Description |
|---|
Spotlight() |
| Modifier and Type | Method and Description |
|---|---|
private String |
doTASK(String inputText) |
String |
getConfidence() |
Map<String,List<Entity>> |
getEntities(String question) |
String |
getSupport() |
private String |
post(String urlParameters,
String requestURL) |
protected String |
requestPOST(String input,
String requestURL) |
void |
setConfidence(double i) |
void |
setSupport(String support) |
String |
toString() |
private static final org.slf4j.Logger log
private String requestURL
private String confidence
private String support
private String post(String urlParameters, String requestURL) throws MalformedURLException, IOException, ProtocolException
private String doTASK(String inputText) throws MalformedURLException, IOException, ProtocolException
public String getConfidence()
public void setConfidence(double i)
public String getSupport()
public void setSupport(String support)
Copyright © 2016–2019. All rights reserved.