public class AlchemyLanguage extends AlchemyService
Modifier and Type | Field and Description |
---|---|
static String |
BASE_URL |
static String |
COREFERENCE |
static String |
CQUERY |
static String |
DISAMBIGUATE |
static String |
ENTITIES |
static String |
EXTRACT |
static String |
EXTRACT_LINK |
static String |
FORCED_GLOSSARY |
static String |
HTML |
static String |
KEYWORD_EXTRACT_MODE |
static String |
KEYWORDS |
static String |
KNOWLEDGE_GRAPH |
static String |
LINKED_DATA |
static String |
MAX_RETRIEVE |
static String |
QUOTATIONS |
static String |
RAW |
static String |
REQUIRED_ENTITIES |
static String |
SENTIMENT |
static String |
SENTIMENT_EXCLUDE_ENTITIES |
static String |
SHOW_SOURCE_TEXT |
static String |
SOURCE_TEXT |
static String |
STRUCTURED_ENTITIES |
static String |
TARGET |
static String |
TARGETS |
static String |
TEXT |
static String |
URL |
static String |
USE_METADATA |
static String |
XPATH |
ENDPOINT, JSONP, OUTPUT_MODE
VERSION
Constructor and Description |
---|
AlchemyLanguage() |
Modifier and Type | Method and Description |
---|---|
DocumentAuthors |
getAuthors(Map<String,Object> params)
Extracts the authors from a URL or HTML.
|
CombinedResults |
getCombinedResults(Map<String,Object> params)
Automatically perform analysis using multiple features on any web page or posted (uploaded)
HTML/text file.
|
Concepts |
getConcepts(Map<String,Object> params)
Extracts concepts tags for text, HTML, or a URLL.
|
Entities |
getEntities(Map<String,Object> params)
Extracts a grouped, ranked list of named entities (people, companies, organizations, etc.) from
text, a URL or HTML.
|
Feeds |
getFeeds(Map<String,Object> params)
Detects the RSS/ATOM feeds for a URL or HTML.
|
Keywords |
getKeywords(Map<String,Object> params)
Extracts the keywords from text, a URL or HTML.
|
Language |
getLanguage(Map<String,Object> params)
Detects the language for text, a URL or HTML.
|
Microformats |
getMicroformats(Map<String,Object> params)
Parses the
Microformats for a URL or HTML. |
DocumentPublicationDate |
getPublicationDate(Map<String,Object> params)
Extracts publication date information when it is specified in web pages
|
SAORelations |
getRelations(Map<String,Object> params)
Extracts Subject-Action-Object(SAO) relations from text, a URL or HTML.
|
DocumentSentiment |
getSentiment(Map<String,Object> params)
Calculates the sentiment for text, a URL or HTML.
|
Taxonomies |
getTaxonomy(Map<String,Object> params)
Categorized through the taxonomy call for text, HTML, or a URL.
|
DocumentText |
getText(Map<String,Object> params)
Extracts the cleaned text (removes ads, navigation, etc.) for a URL or HTML.
|
DocumentTitle |
getTitle(Map<String,Object> params)
Extracts the title for a URL or HTML.
|
execute, executeRequest, getInputFormat, setAuthentication
configureHttpClient, executeWithoutResponse, getApiKey, getEndPoint, getName, getToken, setApiKey, setDefaultHeaders, setEndPoint, setUsernameAndPassword, toString
public static final String BASE_URL
public static final String COREFERENCE
public static final String CQUERY
public static final String DISAMBIGUATE
public static final String ENTITIES
public static final String EXTRACT
public static final String EXTRACT_LINK
public static final String FORCED_GLOSSARY
public static final String HTML
public static final String KEYWORD_EXTRACT_MODE
public static final String KEYWORDS
public static final String KNOWLEDGE_GRAPH
public static final String LINKED_DATA
public static final String MAX_RETRIEVE
public static final String QUOTATIONS
public static final String RAW
public static final String REQUIRED_ENTITIES
public static final String SENTIMENT
public static final String SENTIMENT_EXCLUDE_ENTITIES
public static final String SHOW_SOURCE_TEXT
public static final String SOURCE_TEXT
public static final String STRUCTURED_ENTITIES
public static final String TARGET
public static final String TEXT
public static final String URL
public static final String USE_METADATA
public static final String XPATH
public static final String TARGETS
public DocumentAuthors getAuthors(Map<String,Object> params)
params
- The parameters to be used in the service call, html or url should be specified.DocumentAuthors
public Concepts getConcepts(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Concepts
public DocumentPublicationDate getPublicationDate(Map<String,Object> params)
params
- The parameters to be used in the service call, html or url should be specified.DocumentPublicationDate
public Taxonomies getTaxonomy(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Taxonomies
public CombinedResults getCombinedResults(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Microformats
public Entities getEntities(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Entities
public Feeds getFeeds(Map<String,Object> params)
params
- The parameters to be used in the service call, html or url should be specified.Feeds
public Keywords getKeywords(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Keywords
public Language getLanguage(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.Language
public Microformats getMicroformats(Map<String,Object> params)
Microformats
for a URL or HTML.params
- The parameters to be used in the service call, html or url should be specifiedMicroformats
public SAORelations getRelations(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.SAORelations
public DocumentSentiment getSentiment(Map<String,Object> params)
params
- The parameters to be used in the service call, text, html or url should be
specified.DocumentSentiment
public DocumentText getText(Map<String,Object> params)
params
- The parameters to be used in the service call, html or url should be specified.DocumentText
public DocumentTitle getTitle(Map<String,Object> params)
params
- The parameters to be used in the service call, html or url should be specified.DocumentTitle
Copyright © 2015–2016. All rights reserved.