ERXYahooContentAnalysisService Class Reference

List of all members.

Static Public Member Functions

static NSArray< StringtermExtraction (String appid, String content, String context, Integer maxTerms) throws IOException, SAXException, ParserConfigurationException, FactoryConfigurationError


Detailed Description

Provides an interface to the Yahoo Content Analysis Service.

Author:
mschrag

Member Function Documentation

static NSArray<String> termExtraction ( String  appid,
String  content,
String  context,
Integer  maxTerms 
) throws IOException, SAXException, ParserConfigurationException, FactoryConfigurationError [static]

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.

Parameters:
appid your Yahoo application ID (see https://developer.yahoo.com/wsregapp/ )
content the content to extract terms from
context an optional search phrase that can provide context for the term extraction
maxTerms the maximum number of terms to return, or null for unlimited
Returns:
an array of extract terms
Exceptions:
IOException 
SAXException 
ParserConfigurationException 
FactoryConfigurationError 


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8