public class Spotlight extends ASpotter
| Modifier and Type | Field and Description |
|---|---|
private String |
confidence |
(package 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<org.aksw.qa.commons.datastructure.Entity>> |
getEntities(String question) |
String |
getSupport() |
void |
setConfidence(double i) |
void |
setSupport(String support) |
requestPOST, toStringstatic org.slf4j.Logger log
private String requestURL
private String confidence
private String support
private String doTASK(String inputText) throws MalformedURLException, IOException, ProtocolException
public Map<String,List<org.aksw.qa.commons.datastructure.Entity>> getEntities(String question)
getEntities in class ASpotterpublic String getConfidence()
public void setConfidence(double i)
public String getSupport()
public void setSupport(String support)
Copyright © 2016–2017 Pivotal Software, Inc.. All rights reserved.