public Document URLGetTargetedSentiment( String url, String target, AlchemyAPI_TargetedSentimentParams params) throws IOException, SAXException, ParserConfigurationException, XPathExpressionException { CheckURL(url); CheckText(target); params.setUrl(url); params.setTarget(target); return GET("URLGetTargetedSentiment", "url", params); }
public Document HTMLGetTargetedSentiment( String html, String url, String target, AlchemyAPI_TargetedSentimentParams params) throws IOException, SAXException, ParserConfigurationException, XPathExpressionException { CheckHTML(html, url); CheckText(target); params.setHtml(html); params.setUrl(url); params.setTarget(target); return POST("HTMLGetTargetedSentiment", "html", params); }