public class Spotlight extends ASpotter
| Modifier and Type | Field | Description |
|---|---|---|
private String |
confidence |
|
(package private) static org.slf4j.Logger |
log |
|
private String |
requestURL |
|
private String |
support |
| Constructor | Description |
|---|---|
Spotlight() |
| Modifier and Type | Method | 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–2018 Pivotal Software, Inc.. All rights reserved.