Exemplo n.º 1
0
  public Document HTMLGetRankedConcepts(String html, String url, AlchemyAPI_ConceptParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckHTML(html, url);

    params.setUrl(url);
    params.setHtml(html);

    return POST("HTMLGetRankedConcepts", "html", params);
  }
Exemplo n.º 2
0
  public Document TextGetRankedConcepts(String text, AlchemyAPI_ConceptParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckText(text);

    params.setText(text);

    return POST("TextGetRankedConcepts", "text", params);
  }
Exemplo n.º 3
0
  public Document URLGetRankedConcepts(String url, AlchemyAPI_ConceptParams params)
      throws IOException, SAXException, ParserConfigurationException, XPathExpressionException {
    CheckURL(url);

    params.setUrl(url);

    return GET("URLGetRankedConcepts", "url", params);
  }