public class AlchemyLanguage extends AlchemyService
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_URL
The Constant BASE_URL.
|
static String |
COREFERENCE
The Constant COREFERENCE.
|
static String |
CQUERY
The Constant CQUERY.
|
static String |
DISAMBIGUTE
The Constant DISAMBIGUTE.
|
static String |
ENTITIES
The Constant ENTITIES.
|
static String |
EXTRACT
The Constant EXTRACT.
|
static String |
EXTRACT_LINK
The Constant EXTRACT_LINK.
|
static String |
FORCED_GLOSSARY
The Constant FORCED_GLOSSARY.
|
static String |
HTML
The Constant HTML.
|
static String |
KEYWORD_EXTRACT_MODE
The Constant KEYWORD_EXTRACT_MODE.
|
static String |
KEYWORDS
The Constant KEYWORDS.
|
static String |
KNOWLEDGE_GRAPH
The Constant KNOWLEDGE_GRAPH.
|
static String |
LINKED_DATA
The Constant LINKED_DATA.
|
static String |
MAX_RETRIEVE
The Constant MAX_RETRIEVE.
|
static String |
QUOTATIONS
The Constant QUOTATIONS.
|
static String |
RAW
The Constant RAW.
|
static String |
REQUIRED_ENTITIES
The Constant REQUIRED_ENTITIES.
|
static String |
SENTIMENT
The Constant SENTIMENT.
|
static String |
SENTIMENT_EXCLUDE_ENTITIES
The Constant SENTIMENT_EXCLUDE_ENTITIES.
|
static String |
SHOW_SOURCE_TEXT
The Constant SHOW_SOURCE_TEXT.
|
static String |
SOURCE_TEXT
The Constant SOURCE_TEXT.
|
static String |
STRUCTURED_ENTITIES
The Constant STRUCTURED_ENTITIES.
|
static String |
TARGET
The Constant TARGET.
|
static String |
TEXT
The Constant TEXT.
|
static String |
URL
The Constant URL.
|
static String |
USE_METADATA
The Constant USE_METADATA.
|
static String |
XPATH
The Constant XPATH.
|
ENDPOINT, JSONP, OUTPUT_MODEFORWARD_SLASH| Constructor and Description |
|---|
AlchemyLanguage() |
| Modifier and Type | Method and Description |
|---|---|
DocumentAuthors |
getAuthors(Map<String,Object> params)
Extracts the authors from a URL or HTML.
|
Taxonomies |
geTaxonomy(Map<String,Object> params)
Categorized through the taxonomy call for text, HTML, or a URLL.
|
CombinedResults |
getCombinedResults(Map<String,Object> params)
Automatically perform analysis using multiple features on any web page or posted
(uploaded) HTML/text file.
|
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. |
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.
|
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, getInputFormat, setAuthenticationexecuteRequest, executeWithoutResponse, getApiKey, getDefaultContentType, getDefaultRequestParams, getEndPoint, getHttpClient, getThreadSafeClient, setApiKey, setEndPoint, setUsernameAndPassword, toStringpublic static final String BASE_URL
public static final String COREFERENCE
public static final String CQUERY
public static final String DISAMBIGUTE
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 DocumentAuthors getAuthors(Map<String,Object> params)
params - The parameters to be used in the service call, html or url should be
specified.DocumentAuthorspublic Taxonomies geTaxonomy(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.Taxonomiespublic CombinedResults getCombinedResults(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.Microformatspublic Entities getEntities(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.Entitiespublic Feeds getFeeds(Map<String,Object> params)
params - The parameters to be used in the service call, html or url should be
specified.Feedspublic Keywords getKeywords(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.Keywordspublic Language getLanguage(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.Languagepublic 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
specifiedMicroformatspublic SAORelations getRelations(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.SAORelationspublic DocumentSentiment getSentiment(Map<String,Object> params)
params - The parameters to be used in the service call, text, html or url should
be specified.DocumentSentimentpublic DocumentText getText(Map<String,Object> params)
params - The parameters to be used in the service call, html or url should be
specified.DocumentTextpublic DocumentTitle getTitle(Map<String,Object> params)
params - The parameters to be used in the service call, html or url should be
specified.DocumentTitleCopyright © 2015. All rights reserved.