public class ERXYahooContentAnalysisService extends Object
| Constructor and Description |
|---|
ERXYahooContentAnalysisService() |
| Modifier and Type | Method and Description |
|---|---|
static NSArray<String> |
termExtraction(String appid,
String content,
String context,
Integer maxTerms)
Returns a term extraction of significant words or phrases from the given
content using the Yahoo Term Extraction service:
http://developer.yahoo.com/search/content/V1/termExtraction.html.
|
public static NSArray<String> termExtraction(String appid, String content, String context, Integer maxTerms) throws IOException, SAXException, ParserConfigurationException, FactoryConfigurationError
appid - your Yahoo application ID (see
https://developer.yahoo.com/wsregapp/ )content - the content to extract terms fromcontext - an optional search phrase that can provide context for the
term extractionmaxTerms - the maximum number of terms to return, or null for unlimitedIOExceptionSAXExceptionParserConfigurationExceptionFactoryConfigurationErrorCopyright © 2002 – 2020 Project Wonder.